We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nix-shell
1 parent 2fb3c7e commit fc33e17Copy full SHA for fc33e17
.github/workflows/test-shared.yml
@@ -150,6 +150,17 @@ jobs:
150
mkdir tools
151
mv "$TAR_DIR"/tools/nix tools/.
152
153
+ - name: Cache nix-shell
154
+ run: |
155
+ nix-store --query --references $(
156
+ nix-instantiate \
157
+ -I nixpkgs=./tools/nix/pkgs.nix \
158
+ --arg ccache '(import <nixpkgs> {}).sccache' \
159
+ --arg devTools '[]' \
160
+ --arg benchmarkTools '[]' \
161
+ shell.nix
162
+ ) | xargs nix-store --realise | xargs nix-store --query --requisites | cachix push mycache
163
+
164
- name: Build Node.js and run tests
165
run: |
166
nix-shell \
@@ -164,3 +175,4 @@ jobs:
175
--run '
176
make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9 --skip-tests=$CI_SKIP_TESTS"
177
'
178
0 commit comments