ci: update to install-nix-action@v24
Some checks failed
CI / checks (nur) (push) Successful in 3m4s
CI / build-and-update (xeals, xeals) (push) Failing after 13m52s

Removes the need to provide an access token given how much we really
need to call out to GitHub.
This commit is contained in:
xeals 2024-01-15 13:42:28 +11:00
parent 6920f115fc
commit 161a4a3164
Signed by: xeals
SSH Key Fingerprint: SHA256:pRv+8swQDA+/LuZ7NHj9m006BbKexlNK62OUA01ZZBc

View File

@ -16,9 +16,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: https://gitea.com/actions/checkout@v3 uses: https://gitea.com/actions/checkout@v3
- name: Install nix - name: Install nix
uses: https://github.com/cachix/install-nix-action@v23 uses: https://github.com/cachix/install-nix-action@v24
with:
github_access_token: ${{ secrets.INPUT_GITHUB_ACCESS_TOKEN }}
- name: Check ${{ matrix.check }} - name: Check ${{ matrix.check }}
# Depends on nixos/nix#7759 to simply `nix flake check` # Depends on nixos/nix#7759 to simply `nix flake check`
run: nix run .#checks.$(nix eval --raw --impure --expr "builtins.currentSystem").${{ matrix.check }} run: nix run .#checks.$(nix eval --raw --impure --expr "builtins.currentSystem").${{ matrix.check }}
@ -48,7 +46,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: https://gitea.com/actions/checkout@v3 uses: https://gitea.com/actions/checkout@v3
- name: Install nix - name: Install nix
uses: https://github.com/cachix/install-nix-action@v23 uses: https://github.com/cachix/install-nix-action@v24
- name: Show nixpkgs version - name: Show nixpkgs version
run: nix eval --impure --expr '(import ./flake-compat.nix { src = ./.; }).lib.version' run: nix eval --impure --expr '(import ./flake-compat.nix { src = ./.; }).lib.version'
- name: Setup cachix - name: Setup cachix