Skip to content

Commit

Permalink
Cache artifacts related to risc0 (#855)
Browse files Browse the repository at this point in the history
* Cache artifacts related to risc0

* Remove redundant versioning
  • Loading branch information
rakanalh authored Jul 5, 2024
1 parent 8672a72 commit 5ca7db1
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ jobs:
- name: Toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Install cargo-risczero
uses: taiki-e/install-action@v2
with:
Expand All @@ -88,8 +89,6 @@ jobs:
run: cargo risczero install --version r0.1.78.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Check TOML
uses: dprint/[email protected]
- name: Run lint
Expand Down Expand Up @@ -166,8 +165,9 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
toolchain: stable
components: llvm-tools-preview
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@nextest
- uses: taiki-e/install-action@cargo-llvm-cov
- name: Install cargo-risczero
Expand All @@ -176,8 +176,6 @@ jobs:
tool: [email protected]
- name: Install risc0-zkvm toolchain # Use the risc0 cargo extension to install the risc0 std library for the current toolchain
run: cargo risczero install --version r0.1.78.0
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Cache ethereum-tests
uses: actions/cache@v3
with:
Expand All @@ -203,6 +201,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- uses: dcarbone/install-jq-action@v2
- name: Install cargo-risczero
uses: taiki-e/install-action@v2
Expand All @@ -212,8 +212,6 @@ jobs:
run: cargo risczero install --version r0.1.78.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build citrea
run: make build
- name: Install node dependencies
Expand Down Expand Up @@ -287,6 +285,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- uses: dcarbone/install-jq-action@v2
- name: Install cargo-risczero
uses: taiki-e/install-action@v2
Expand All @@ -296,8 +296,6 @@ jobs:
run: cargo risczero install --version r0.1.78.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build citrea
run: make build
- name: Install node dependencies
Expand Down Expand Up @@ -368,9 +366,10 @@ jobs:
- name: Toolchain
uses: dtolnay/[email protected]
with:
toolchain: 1.78.0
override: true
components: rustfmt, clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Install cargo-risczero
uses: taiki-e/install-action@v2
with:
Expand All @@ -386,8 +385,6 @@ jobs:
with:
key: "eth-tests-1c23e3c"
path: crates/evm/ethereum-tests
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run nextest
run: make test
env:
Expand Down

0 comments on commit 5ca7db1

Please sign in to comment.