add Debian mirror component parameter (#12) #40
This file contains hidden or 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@v4 | |
| with: | |
| submodules: recursive | |
| - name: Cargo Deny | |
| uses: EmbarkStudios/cargo-deny-action@v2 | |
| - name: Install Nightly Toolchain | |
| uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: clippy, rustfmt | |
| - name: Clippy | |
| # Clippy is currently generating an ICE. | |
| continue-on-error: true | |
| run: cargo +nightly clippy --all-targets --all-features | |
| - name: Test | |
| run: cargo +nightly test --all-features | |
| - name: Format | |
| run: cargo +nightly fmt --check |