@cryptotaxi247 / infra-1 / commits / 9f6d6c94

add nix-cache to speedup ci

Jörg Thalheim committed Aug 18, 2024 at 17:44 UTC 9f6d6c940ae5091a69899a2cd0bb49fd5d109c54
1 file changed +2
.github/workflows/ci.yml
+2
@@ -18,6 +18,7 @@ jobs:
18 steps:
19 - uses: actions/checkout@v4
20 - uses: cachix/install-nix-action@v27
21 + - uses: DeterminateSystems/magic-nix-cache-action@v2
22 - run: nix run github:Mic92/nix-fast-build -- --no-nom
23 # all builds combined consume too much disk space... we should soon switch to something else
24 nixos:
@@ -31,4 +32,5 @@ jobs:
32 steps:
33 - uses: actions/checkout@v4
34 - uses: cachix/install-nix-action@v27
35 + - uses: DeterminateSystems/magic-nix-cache-action@v2
36 - run: nix build '.#nixosConfigurations."${{ matrix.machine }}.nixos.org".config.system.build.toplevel'