feat: more linemode (#549) #599
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: Clippy - Catch common mistakes and improve your Rust code | |
on: | |
push: | |
branches: [dev, main] | |
pull_request: | |
branches: [dev, main] | |
jobs: | |
check: | |
name: Clippy - Catch common mistakes and improve your Rust code | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: [stable] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install minimal ${{ matrix.rust }} rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
override: true | |
profile: minimal | |
components: clippy | |
toolchain: ${{ matrix.rust }} | |
- run: cargo -Vv && rustc -Vv | |
- run: cargo clippy -- --deny clippy::all --warn clippy::cargo | |
if: ${{ matrix.rust == 'stable' }} |