Fixed hooking comment #179
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: Lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
run: | | |
rustup toolchain install nightly --profile minimal -c rustfmt,clippy | |
rustup target add i686-pc-windows-msvc --toolchain nightly | |
- name: Format | |
run: | | |
cargo +nightly fmt --all -- --check | |
- name: Clippy | |
run: | | |
cargo +nightly clippy --all-targets --target x86_64-pc-windows-msvc -- -D clippy::all | |
cargo +nightly clippy --all-targets --target i686-pc-windows-msvc -- -D clippy::all |