github-ci: use faster nix install

This commit is contained in:
Sridhar Ratnakumar 2023-03-25 10:53:44 -04:00
parent 18490045b7
commit 94ec678bc3

View file

@ -10,14 +10,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: cachix/install-nix-action@v17 - uses: nixbuild/nix-quick-install-action@v22
with: with:
extra_nix_config: | nix_conf: |
experimental-features = nix-command flakes experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
# Srid's cache; leaving disabled for template use.
# trusted-public-keys = cache.srid.ca:8sQkbPrOIoXktIwI0OucQBXod2e9fDjjoEZWn8OXbdo=
# substituters = https://cache.srid.ca
- name: Cache Nix dependencies - name: Cache Nix dependencies
run: | run: |
nix develop -j 4 -c echo nix develop -j 4 -c echo