diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1551d5fb..92dfcd94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,12 +38,15 @@ jobs: - name: Configure Magic Nix Cache uses: DeterminateSystems/magic-nix-cache-action@main - - name: Apply custom Nix configuration + - name: Apply Nix binary cache configuration run: | + nix-env -iA cachix -f https://cachix.org/api/v1/install + cachix use crane + cachix use nix-community sudo tee -a /etc/nix/nix.conf > /dev/null < "$HOME/.direnvrc" nix-env -f "" -iA direnv -iA nix-direnv + direnv allow - name: Update `/nix/store` run: | nix develop --command true - direnv allow - name: Run CI tests run: |