feat(proposer): more configurability for witness gen (#303) #915
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: PR | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- "**" | |
paths: | |
- "crates/**" | |
- "programs/**" | |
- "scripts/**" | |
- "utils/**" | |
- "proposer/succinct/**" | |
- "Cargo.toml" | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Formatting & Clippy | |
runs-on: [runs-on, runner=32cpu-linux-arm64 , "run-id=${{ github.run_id }}"] | |
env: | |
CARGO_NET_GIT_FETCH_WITH_CLI: "true" | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
components: rustfmt | |
- name: Run rustfmt | |
run: cargo fmt --all -- --check | |
env: | |
CARGO_INCREMENTAL: 1 | |
- name: Run cargo clippy | |
run: cargo clippy --all-features --all-targets -- -D warnings -A incomplete-features | |
env: | |
CARGO_INCREMENTAL: 1 |