cache devshell in ci

This commit is contained in:
cy 2025-05-11 01:22:03 -04:00
parent ab1fcc8207
commit 8ba2c6cc9b

View file

@ -42,7 +42,17 @@ jobs:
with:
persist-credentials: false
- run: nix build -L .
- name: cache devshell
run: |
nix build .#devShells.$(nix eval --impure --raw --expr 'builtins.currentSystem').default
nix run \
github:cything/nixcp/test-in-ci -- push \
--bucket nixcache \
--signing-key ${{ runner.temp }}/cache-priv-key.pem \
result
- name: build
run: nix build -L .
- name: cache
run: |