From 161a4a3164ee0a0b70e4cf1eb1c91f3cac8a6939 Mon Sep 17 00:00:00 2001 From: xeals Date: Mon, 15 Jan 2024 13:42:28 +1100 Subject: [PATCH] ci: update to install-nix-action@v24 Removes the need to provide an access token given how much we really need to call out to GitHub. --- .gitea/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 73096df..62047aa 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -16,9 +16,7 @@ jobs: - name: Checkout repository uses: https://gitea.com/actions/checkout@v3 - name: Install nix - uses: https://github.com/cachix/install-nix-action@v23 - with: - github_access_token: ${{ secrets.INPUT_GITHUB_ACCESS_TOKEN }} + uses: https://github.com/cachix/install-nix-action@v24 - name: Check ${{ matrix.check }} # Depends on nixos/nix#7759 to simply `nix flake check` run: nix run .#checks.$(nix eval --raw --impure --expr "builtins.currentSystem").${{ matrix.check }} @@ -48,7 +46,7 @@ jobs: - name: Checkout repository uses: https://gitea.com/actions/checkout@v3 - 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 run: nix eval --impure --expr '(import ./flake-compat.nix { src = ./.; }).lib.version' - name: Setup cachix