From 94ec678bc3e44c22b3bbe8f0e20d0e292fabdf4e Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 25 Mar 2023 10:53:44 -0400 Subject: [PATCH] github-ci: use faster nix install --- .github/workflows/ci.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 84147b2..c25917a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,14 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: cachix/install-nix-action@v17 + - uses: nixbuild/nix-quick-install-action@v22 with: - extra_nix_config: | + nix_conf: | experimental-features = nix-command flakes 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 run: | nix develop -j 4 -c echo