From 366f1d89868c9618b2527f780e583c76f7e65116 Mon Sep 17 00:00:00 2001 From: bruwbird Date: Tue, 20 Aug 2024 16:21:21 +0900 Subject: [PATCH] ci: better compatibility and caching replace determinateSystems/nix-installer-action with cachix/install-nix-action for better compatibility and caching --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b85965f7..ed563315 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,9 @@ jobs: with: fetch-depth: 0 - name: Install Nix and run tests - uses: determinateSystems/nix-installer-action@v12 - - uses: DeterminateSystems/magic-nix-cache-action@v7 - - uses: DeterminateSystems/flake-checker-action@v8 + - uses: cachix/install-nix-action@v25 + with: + extra_nix_config: | + trusted-public-keys = nix.casatta.it:HseKZh7436/vKXfZDBHbhr7wwAkzjLwY5BIq+OOrITg= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= + substituters = https://nix.casatta.it https://cache.nixos.org/ - run: nix-shell --run "make test-${{matrix.test-vector}}" \ No newline at end of file