chore: assume binfmt_misc
to be set up already
#138
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: Check and Lint | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check-and-lint: | |
name: Check and Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cargo Deny | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
- name: Clippy | |
run: cargo clippy --all-targets --all-features | |
- name: Install Nightly Toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: clippy, rustfmt | |
- name: Format | |
run: cargo +nightly fmt --check |