1515 timeout-minutes : 5
1616 steps :
1717 - uses : actions/checkout@v6
18- - run : sleep 30 # Sleep hoping Garnix evaluation will start after
18+ - uses : cachix/install-nix-action@v31
19+ with :
20+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
21+ extra_nix_config : |
22+ extra-substituters = https://cache.garnix.io
23+ extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
24+ - uses : DeterminateSystems/magic-nix-cache-action@v13
25+ - run : sleep 15 # Sleep hoping Garnix evaluation will start after
1926 - uses : lewagon/wait-on-check-action@v1
2027 with :
2128 ref : ${{ github.event.pull_request.head.sha || github.sha }}
2734 check-regexp : ' check coverage.*'
2835 repo-token : ${{ secrets.GITHUB_TOKEN }}
2936 fail-on-no-checks : false
30- - uses : cachix/install-nix-action@v31
31- with :
32- github_access_token : ${{ secrets.GITHUB_TOKEN }}
33- extra_nix_config : |
34- extra-substituters = https://cache.garnix.io
35- extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
36- - uses : DeterminateSystems/magic-nix-cache-action@v13
3737 - run : nix build .#checks.x86_64-linux.coverage -o coverage # From Garnix
3838 - run : | # Process Coverage
3939 REPORT=$(grep -o "<table>.*</table>" coverage/html/index.html)
7070 timeout-minutes : 20
7171 steps :
7272 - uses : actions/checkout@v6
73- - run : sleep 30 # Sleep hoping Garnix evaluation will start after
73+ - uses : cachix/install-nix-action@v31
74+ with :
75+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
76+ extra_nix_config : |
77+ extra-substituters = https://cache.garnix.io
78+ extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
79+ - uses : DeterminateSystems/magic-nix-cache-action@v13
80+ - run : sleep 15 # Sleep hoping Garnix evaluation will start after
7481 - uses : lewagon/wait-on-check-action@v1
7582 with :
7683 ref : ${{ github.event.pull_request.head.sha || github.sha }}
8289 check-regexp : ' package pages.*'
8390 repo-token : ${{ secrets.GITHUB_TOKEN }}
8491 fail-on-no-checks : false
85- - uses : cachix/install-nix-action@v31
86- with :
87- github_access_token : ${{ secrets.GITHUB_TOKEN }}
88- extra_nix_config : |
89- extra-substituters = https://cache.garnix.io
90- extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
91- - uses : DeterminateSystems/magic-nix-cache-action@v13
9292 - run : nix build .#pages -o dist/LogOut/
9393 - uses : treosh/lighthouse-ci-action@v12
9494 with :
@@ -139,7 +139,14 @@ jobs:
139139 timeout-minutes : 20
140140 steps :
141141 - uses : actions/checkout@v6
142- - run : sleep 30 # Sleep hoping Garnix evaluation will start after
142+ - uses : cachix/install-nix-action@v31
143+ with :
144+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
145+ extra_nix_config : |
146+ extra-substituters = https://cache.garnix.io
147+ extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
148+ - uses : DeterminateSystems/magic-nix-cache-action@v13
149+ - run : sleep 15 # Sleep hoping Garnix evaluation will start after
143150 - uses : lewagon/wait-on-check-action@v1
144151 with :
145152 ref : ${{ github.event.pull_request.head.sha || github.sha }}
@@ -151,13 +158,6 @@ jobs:
151158 check-regexp : ' package pages.*'
152159 repo-token : ${{ secrets.GITHUB_TOKEN }}
153160 fail-on-no-checks : false
154- - uses : cachix/install-nix-action@v31
155- with :
156- github_access_token : ${{ secrets.GITHUB_TOKEN }}
157- extra_nix_config : |
158- extra-substituters = https://cache.garnix.io
159- extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
160- - uses : DeterminateSystems/magic-nix-cache-action@v13
161161 - run : ./scripts/web-test.sh # Build & Serve
162162 - run : |
163163 set -o pipefail
0 commit comments