build(deps): bump rust-vmm-ci from 665f31f
to 0100de0
#40
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: Quality Checks | |
on: [pull_request, create] | |
jobs: | |
build: | |
name: Quality (clippy, rustfmt) | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: | |
- stable | |
target: | |
- x86_64-unknown-linux-gnu | |
- x86_64-unknown-linux-musl | |
experimental: [false] | |
include: | |
- rust: beta | |
target: x86_64-unknown-linux-gnu | |
experimental: true | |
- rust: beta | |
target: x86_64-unknown-linux-musl | |
experimental: true | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Rust toolchain (${{ matrix.rust }}) | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
target: ${{ matrix.target }} | |
override: true | |
components: rustfmt, clippy | |
- name: Formatting (rustfmt) | |
run: cargo fmt -- --check | |
- name: Clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
use-cross: ${{ matrix.target != 'x86_64-unknown-linux-gnu' }} | |
command: clippy | |
args: --target=${{ matrix.target }} --all --all-targets --tests --examples -- -D warnings -D clippy::undocumented_unsafe_blocks |