Switch to cachix/install-nix-action@v20

Fixes the installation issue with the latest Nix.

Also revert the pinning to nix-2.13 since it's not needed any more.
This commit is contained in:
Théophane Hufschmitt 2023-03-04 11:41:24 +01:00 committed by GitHub
parent 0507462c06
commit c3b5499dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -19,9 +19,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
- uses: cachix/install-nix-action@v20
- run: echo CACHIX_NAME="$(echo $GITHUB_REPOSITORY-install-tests | tr "[A-Z]/" "[a-z]-")" >> $GITHUB_ENV
- uses: cachix/cachix-action@v12
if: needs.check_secrets.outputs.cachix == 'true'