preload halo2 verifier params and change graphql tower_cartesi to onl… #94
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: Rust | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run sccache-cache | |
uses: mozilla-actions/sccache-action@v0.0.3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup protoc | |
uses: arduino/setup-protoc@v1.1.2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: --all | |
lints: | |
name: fmt check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run sccache-cache | |
uses: mozilla-actions/sccache-action@v0.0.3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup protoc | |
uses: arduino/setup-protoc@v1.1.2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all --check |