@@ -31,13 +31,11 @@ jobs:
3131 - uses : nixbuild/nix-quick-install-action@v33
3232 with :
3333 github_access_token : ${{ secrets.GITHUB_TOKEN }}
34- - name : Populate the nix store without Obelisk # Workaround for slow garnix cache
34+ nix_conf : |
35+ extra-substituters = https://cache.garnix.io
36+ extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g
37+ - name : Populate the nix store
3538 run : |
36- nix develop .#noObelisk --command echo
37- - name : Add garnix cache and populate the nix store with Obelisk
38- run : |
39- echo "extra-substituters = https://cache.garnix.io" >> ~/.config/nix/nix.conf
40- echo "extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g" >> ~/.config/nix/nix.conf
4139 nix develop --command echo
4240
4341 - name : cargo fmt
@@ -51,13 +49,11 @@ jobs:
5149 - uses : nixbuild/nix-quick-install-action@v33
5250 with :
5351 github_access_token : ${{ secrets.GITHUB_TOKEN }}
54- - name : Populate the nix store without Obelisk # Workaround for slow garnix cache
55- run : |
56- nix develop .#noObelisk --command echo
57- - name : Add garnix cache and populate the nix store with Obelisk
52+ nix_conf : |
53+ extra-substituters = https://cache.garnix.io
54+ extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g
55+ - name : Populate the nix store
5856 run : |
59- echo "extra-substituters = https://cache.garnix.io" >> ~/.config/nix/nix.conf
60- echo "extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g" >> ~/.config/nix/nix.conf
6157 nix develop --command echo
6258
6359 - run : nix develop --command ./scripts/dev-deps.sh
@@ -81,13 +77,11 @@ jobs:
8177 - uses : nixbuild/nix-quick-install-action@v33
8278 with :
8379 github_access_token : ${{ secrets.GITHUB_TOKEN }}
84- - name : Populate the nix store without Obelisk # Workaround for slow garnix cache
85- run : |
86- nix develop .#noObelisk --command echo
87- - name : Add garnix cache and populate the nix store with Obelisk
80+ nix_conf : |
81+ extra-substituters = https://cache.garnix.io
82+ extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g
83+ - name : Populate the nix store
8884 run : |
89- echo "extra-substituters = https://cache.garnix.io" >> ~/.config/nix/nix.conf
90- echo "extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g" >> ~/.config/nix/nix.conf
9185 nix develop --command echo
9286
9387 - name : cargo clippy
0 commit comments