Check for missing fixes on CI (#46) #33
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: "1.74" | |
profile: minimal | |
override: true | |
components: rustfmt, clippy | |
- uses: Swatinem/[email protected] | |
- uses: dprint/[email protected] | |
- run: make test | |
- run: make fix | |
- run: git diff HEAD --exit-code --color |