Skip to content

Commit

Permalink
ci: Update action versions
Browse files Browse the repository at this point in the history
This might fix the CI since previously it would run out of disk space.

See: cachix/install-nix-action#199
  • Loading branch information
donovanglover committed Apr 24, 2024
1 parent 9cefe6c commit a8a7d16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -11,22 +11,22 @@ jobs:
name: nix flake check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- run: nix flake check
format:
name: nix fmt -- --check **/*.nix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- run: nix fmt -- --check **/*.nix
example:
name: nix flake check ./example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- 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"

0 comments on commit a8a7d16

Please sign in to comment.