Skip to content

Commit

Permalink
chore: Upgrade risc0 to v0.17 (#11)
Browse files Browse the repository at this point in the history
* upgrade risc0 to v0.17

* cargo fmt

* install toolchain

* install toolchain for clippy

* fix install

* increase timeout

* update actions

* no cargo-risczero for clippy

* address review comments
  • Loading branch information
Wollac authored Aug 14, 2023
1 parent 601df01 commit e636ff9
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 284 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
test:
name: test
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: risc0/risc0/.github/actions/rustup@release-0.16
- uses: risc0/risc0/.github/actions/sccache@release-0.16
- name: Cargo test
run: cargo test --workspace
- uses: risc0/risc0/.github/actions/rustup@release-0.17
- uses: risc0/risc0/.github/actions/sccache@release-0.17
- run: cargo install cargo-risczero && cargo risczero install
- run: cargo test --workspace

clippy:
name: clippy
Expand All @@ -34,9 +34,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: risc0/risc0/.github/actions/[email protected]
- uses: risc0/risc0/.github/actions/[email protected]
- run: rustup component add clippy
- uses: risc0/risc0/.github/actions/[email protected]
- uses: risc0/risc0/.github/actions/[email protected]
- uses: risc0/clippy-action@main
with:
reporter: 'github-pr-check'
Expand All @@ -49,5 +48,5 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: risc0/risc0/.github/actions/rustup@release-0.16
- uses: risc0/risc0/.github/actions/rustup@release-0.17
- run: cargo fmt --all --check
Loading

0 comments on commit e636ff9

Please sign in to comment.