Skip to content

Commit

Permalink
fix contract-size CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed Nov 2, 2022
1 parent ad09572 commit 8534c21
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,19 @@ jobs:
env:
CARGO_TARGET_DIR: /usr/local/cache/target
steps:
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- uses: actions/checkout@v3

- name: Cache rust artifacts for source branch
id: cache-rust-artifacts-source
uses: actions/cache@v3
with:
path: /usr/local/cache/target
key: cache-rust-artifacts-pr-${{ hashFiles('Cargo.toml') }}-${{ github.ref }}
key: cache-rust-artifacts-${{ hashFiles('Cargo.toml') }}-${{ github.ref }}
restore-keys: |
cache-rust-artifacts-pr-${{ hashFiles('Cargo.toml') }}
cache-rust-artifacts-${{ hashFiles('Cargo.toml') }}
- name: Find contract data for source branch
id: find-data-source
Expand Down

0 comments on commit 8534c21

Please sign in to comment.