diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a59a21d953d..2f0517ba577 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -44,7 +44,16 @@ jobs: - uses: actions/checkout@v3 - uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: foundry-rs/foundry-toolchain@v1.2.0 - - 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