Update welcome.md #1561
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: | |
types: [opened, reopened, synchronize] | |
jobs: | |
rustfmt: | |
name: rustfmt ${{matrix.toolchain}} on ${{matrix.os}} | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [nightly] | |
os: [ubuntu] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install minimal Rust with rustfmt | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{matrix.toolchain}} | |
components: rustfmt | |
override: true | |
- name: fmt | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
clippy: | |
name: clippy ${{matrix.toolchain}} on ${{matrix.os}} | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [nightly] | |
os: [ubuntu] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install minimal Rust with clippy | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{matrix.toolchain}} | |
components: clippy | |
override: true | |
- name: Clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --workspace --all-targets -- -D clippy::all -D warnings | |
- name: Clippy all features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --workspace --all-targets --all-features -- -D clippy::all -D warnings | |
test: | |
name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}} | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [stable, nightly] | |
os: [ubuntu] | |
args: ["--profile test-release --features concurrent,testing -- --skip prove", "--release --features concurrent,testing prove"] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{matrix.toolchain}} | |
override: true | |
- name: Test | |
uses: actions-rs/cargo@v1 | |
env: | |
RUSTFLAGS: -C debug-assertions | |
with: | |
command: test | |
args: ${{matrix.args}} | |
no-std: | |
name: build ${{matrix.toolchain}} no-std for wasm32-unknown-unknown | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [stable, nightly] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{matrix.toolchain}} | |
override: true | |
- run: rustup target add wasm32-unknown-unknown | |
- name: Build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --no-default-features --target wasm32-unknown-unknown --workspace --exclude miden-mock |