mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 01:38:02 +02: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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: cachix/install-nix-action@v26
|
- uses: cachix/install-nix-action@v27
|
||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
format:
|
format:
|
||||||
name: nix fmt -- --check **/*.nix
|
name: nix fmt -- --check **/*.nix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: cachix/install-nix-action@v26
|
- uses: cachix/install-nix-action@v27
|
||||||
- run: nix fmt -- --check **/*.nix
|
- run: nix fmt -- --check **/*.nix
|
||||||
example:
|
example:
|
||||||
name: nix flake check ./example
|
name: nix flake check ./example
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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: cp ./hardware/laptop.nix ./example/hardware-configuration.nix
|
||||||
- run: git add .
|
- 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"
|
- 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…
x
Reference in New Issue
Block a user