Skip to content

Commit

Permalink
Merge pull request #14 from NethermindEth/fix-building-with-GitHub-Ac…
Browse files Browse the repository at this point in the history
…tions

Remove problematic manual caching in GitHub Actions
  • Loading branch information
Coda-Coda authored Oct 22, 2024
2 parents a20c24e + 9583ece commit 29e3c76
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,7 @@ jobs:
uses: DeterminateSystems/nix-installer-action@v14
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Cache Lean toolchain
uses: actions/[email protected]
with:
path: ~/.elan/toolchains
key: ${{ runner.os }}-lean-toolchain-${{ hashFiles('lean-toolchain') }}
- name: Cache Lean packages
id: cache-lean-packages
uses: actions/[email protected]
with:
path: .lake/packages
key: ${{ runner.os }}-lean-packages-${{ hashFiles('lake-manifest.json') }}
- if: ${{ steps.cache-lean-packages.outputs.cache-hit != 'true' }}
name: Get Mathlib cache
- name: Get Mathlib cache
run: nix-shell --run "lake exe cache get"
- name: Build vc tool
run: nix-shell --run "cd vc; stack --nix build"
Expand Down

0 comments on commit 29e3c76

Please sign in to comment.