summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2022-03-10 07:46:03 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2022-03-14 08:12:25 +1000
commit1d41af9bc9f51783f5010d6d57a67908322bf3fc (patch)
treec191f35578e38956c73673d3d2cbdbaa65509d06 /.github
parent65268fe99a36f32a7c11eda40a9a18156a5c7436 (diff)
downloadnixpkgs-1d41af9bc9f51783f5010d6d57a67908322bf3fc.tar
nixpkgs-1d41af9bc9f51783f5010d6d57a67908322bf3fc.tar.gz
nixpkgs-1d41af9bc9f51783f5010d6d57a67908322bf3fc.tar.bz2
nixpkgs-1d41af9bc9f51783f5010d6d57a67908322bf3fc.tar.lz
nixpkgs-1d41af9bc9f51783f5010d6d57a67908322bf3fc.tar.xz
nixpkgs-1d41af9bc9f51783f5010d6d57a67908322bf3fc.tar.zst
nixpkgs-1d41af9bc9f51783f5010d6d57a67908322bf3fc.zip
.github/workflows/basic-eval.yml: add cachix cache
Avoids rebuilding nix in every PR if it hasn't been build on hydra yet.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/basic-eval.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/basic-eval.yml b/.github/workflows/basic-eval.yml
index c48b04d8c14..51429ae40be 100644
--- a/.github/workflows/basic-eval.yml
+++ b/.github/workflows/basic-eval.yml
@@ -16,5 +16,10 @@ jobs:
     steps:
     - uses: actions/checkout@v3
     - uses: cachix/install-nix-action@v16
+    - uses: cachix/cachix-action@v10
+      with:
+        # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
+        name: nixpkgs-ci
+        signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
     # explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
     - run: nix-build pkgs/top-level/release.nix -A tarball.nixpkgs-basic-release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin"  ]'