mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 07:58:30 +01:00
ci: Add statix check
Not tested.
This commit is contained in:
parent
55fbafa129
commit
1f1600a212
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -32,3 +32,10 @@ jobs:
|
||||
- run: cp ./hosts/laptop/hardware-configuration.nix ./example/hardware-configuration.nix
|
||||
- run: git add .
|
||||
- run: nix flake check ./example --no-write-lock-file --override-input nix-config "git+file://$(pwd | sed -e 's/\s/%20/g')?shallow=1"
|
||||
statix:
|
||||
name: statix check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v27
|
||||
- run: nix run nixpkgs#statix check
|
||||
|
Loading…
Reference in New Issue
Block a user