Skip to content

Commit

Permalink
Cache solc on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-ds committed Oct 23, 2024
1 parent 6850005 commit fdca11f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: foundry-rs/[email protected]
- uses: pontem-network/get-solc@master
- name: Cache solc
id: cache-solc
uses: actions/cache@v4
with:
path: /home/runner/.solc
key: solc-v0.8.25
restore-keys: solc-
- name: Get Solc
if: ${{ steps.cache-solc.outputs.cache-hit != 'true' }}
uses: pontem-network/get-solc@master
with:
version: v0.8.25
- name: Clear up some space
Expand Down

0 comments on commit fdca11f

Please sign in to comment.