mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
ci: Update nix from 2.20.5 to 2.22.1
Might fix the ci.
This commit is contained in:
parent
08f0823b61
commit
665430f2ce
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -12,21 +12,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- uses: cachix/install-nix-action@v27
|
||||
- run: nix flake check
|
||||
format:
|
||||
name: nix fmt -- --check **/*.nix
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- uses: cachix/install-nix-action@v27
|
||||
- run: nix fmt -- --check **/*.nix
|
||||
example:
|
||||
name: nix flake check ./example
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- uses: cachix/install-nix-action@v27
|
||||
- run: cp ./hardware/laptop.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"
|
||||
|
Loading…
Reference in New Issue
Block a user