ci: nix
Some checks are pending
Code Quality / changes (push) Waiting to run
Code Quality / Lua Format Check (push) Blocked by required conditions
Code Quality / Lua Lint Check (push) Blocked by required conditions
Code Quality / Lua Type Check (push) Blocked by required conditions
Code Quality / Markdown Format Check (push) Blocked by required conditions
Some checks are pending
Code Quality / changes (push) Waiting to run
Code Quality / Lua Format Check (push) Blocked by required conditions
Code Quality / Lua Lint Check (push) Blocked by required conditions
Code Quality / Lua Type Check (push) Blocked by required conditions
Code Quality / Markdown Format Check (push) Blocked by required conditions
This commit is contained in:
parent
6b1ba1f056
commit
26fb9ca518
2 changed files with 6 additions and 1 deletions
|
|
@ -13,9 +13,12 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
forEachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
|
||||
forEachSystem =
|
||||
f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
|
||||
in
|
||||
{
|
||||
formatter = forEachSystem (pkgs: pkgs.nixfmt-tree);
|
||||
|
||||
devShells = forEachSystem (pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
packages = [
|
||||
|
|
|
|||
|
|
@ -4,4 +4,6 @@ set -eu
|
|||
nix develop --command stylua --check .
|
||||
git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet
|
||||
nix develop --command prettier --check .
|
||||
nix fmt
|
||||
git diff --exit-code -- '*.nix'
|
||||
nix develop --command lua-language-server --check . --checklevel=Warning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue