2 Commits

Author SHA1 Message Date
Eric
76a3f2f442 fix: bazel is green 2026-03-04 09:47:09 +01:00
Eric
4d1be5ada2 feat: cache nix packages in ci 2026-03-04 09:44:37 +01:00
2 changed files with 7 additions and 1 deletions

View File

@@ -35,5 +35,11 @@ jobs:
extra_nix_config: | extra_nix_config: |
experimental-features = nix-command flakes experimental-features = nix-command flakes
- name: Restore and save Nix store cache
uses: nix-community/cache-nix-action@v7
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
- name: Install flake dependencies - name: Install flake dependencies
run: nix develop --accept-flake-config -c true run: nix develop --accept-flake-config -c true

View File

@@ -88,7 +88,7 @@
name = "Bazel"; name = "Bazel";
bin = "${bazel9}/bin/bazel"; bin = "${bazel9}/bin/bazel";
versionCmd = "--version"; versionCmd = "--version";
color = "BLUE"; color = "GREEN";
} }
]; ];