Bump mio from 0.8.8 to 0.8.11 #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: Lint | |
on: | |
push: | |
branches-ignore: | |
- ' ' | |
tags-ignore: | |
- '*.*.*' | |
workflow_call: | |
jobs: | |
test: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/detect-and-install-rust-toolchain | |
with: | |
components: clippy,rustfmt | |
- name: Cache BuildIt | |
uses: actions/cache@v3 | |
continue-on-error: true | |
with: | |
path: ./buildit/target | |
key: buildit-lint-${{ runner.os }}-${{ hashFiles('./buildit') }} | |
restore-keys: buildit-lint-${{ runner.os }}-${{ hashFiles('./buildit') }} | |
- name: Check code formatting | |
run: cargo fmt --manifest-path ./buildit/Cargo.toml -- --check | |
- name: Lint with Clippy | |
run: cargo clippy --no-deps --all-features | |
- name: Check code formatting (BuildIt) | |
run: cargo fmt -- --check | |
- name: Lint with Clippy (BuildIt) | |
run: cargo clippy --manifest-path ./buildit/Cargo.toml --all-features |