update cachix CI action
This commit is contained in:
parent
fad936a040
commit
3e1e140f8d
1 changed files with 14 additions and 15 deletions
29
.github/workflows/nix-flake-check.yml
vendored
29
.github/workflows/nix-flake-check.yml
vendored
|
@ -7,20 +7,19 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checks:
|
checks:
|
||||||
name: Checks
|
name: "Checks"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: cachix/install-nix-action@v19
|
- uses: cachix/install-nix-action@v20
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-stable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
- uses: cachix/cachix-action@v12
|
||||||
experimental-features = nix-command flakes
|
with:
|
||||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
name: mycache
|
||||||
system-features = nixos-test benchmark big-parallel kvm
|
# If you chose signing key for write access
|
||||||
- uses: cachix/cachix-action@v12
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
with:
|
# If you chose API tokens for write access OR if you have a private cache
|
||||||
name: dadada
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
- run: nix-build
|
||||||
- name: Checks
|
- run: nix-shell --run "echo OK"
|
||||||
run: nix flake check
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue