Skip to content

Commit 461c246

Browse files
committed
ci: nix: add binary cache
1 parent 208491f commit 461c246

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,9 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- uses: actions/checkout@v4
54-
- uses: DeterminateSystems/nix-installer-action@main
54+
- uses: cachix/install-nix-action@v25
55+
with:
56+
extra_nix_config: |
57+
trusted-public-keys = nix.casatta.it:HseKZh7436/vKXfZDBHbhr7wwAkzjLwY5BIq+OOrITg= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
58+
substituters = https://nix.casatta.it https://cache.nixos.org/
5559
- run: nix build .

0 commit comments

Comments
 (0)