chore: Upgrade risc0
to v0.17
#38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: risc0/risc0/.github/actions/[email protected] | |
- uses: risc0/risc0/.github/actions/[email protected] | |
- run: cargo install cargo-risczero && cargo risczero install | |
- run: cargo test --workspace | |
clippy: | |
name: clippy | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- 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/clippy-action@main | |
with: | |
reporter: 'github-pr-check' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
clippy_flags: --workspace --all-targets --all-features -- -Dwarnings | |
fmt: | |
name: fmt | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: risc0/risc0/.github/actions/[email protected] | |
- run: cargo fmt --all --check |