chore: release version 0.9.7 #208
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: | |
pull_request: | |
jobs: | |
clippy: | |
name: Clippy | |
strategy: | |
matrix: | |
arch: [x86_64, aarch64, riscv64gc] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
target: ${{ matrix.arch }}-unknown-linux-gnu | |
components: clippy | |
- name: Clippy | |
run: | | |
cargo clippy --target ${{ matrix.arch }}-unknown-linux-gnu | |
cargo clippy --features loader --target ${{ matrix.arch }}-unknown-linux-gnu | |
cargo clippy --features kernel --target ${{ matrix.arch }}-unknown-linux-gnu | |
cargo clippy --all-features --target ${{ matrix.arch }}-unknown-linux-gnu | |
env: | |
RUSTFLAGS: -Dwarnings | |
doc: | |
name: Check documentation | |
strategy: | |
matrix: | |
arch: [x86_64, aarch64, riscv64gc] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
target: ${{ matrix.arch }}-unknown-linux-gnu | |
- name: Check documentation | |
run: cargo doc --all-features --target ${{ matrix.arch }}-unknown-linux-gnu | |
env: | |
RUSTDOCFLAGS: -Dwarnings | |
fmt: | |
name: Check format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt | |
- name: Check format | |
run: cargo fmt -- --check |