chore: Conform to new linting rules #110
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: {} | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
container: marcusgrass/pgwm-check:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run clippy on all feature permutations | |
run: cargo hack clippy -p pgwm-app --feature-powerset -- -D warnings | |
deny: | |
runs-on: ubuntu-latest | |
container: marcusgrass/pgwm-check:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run cargo deny | |
run: cargo deny --all-features --locked check | |
test: | |
runs-on: ubuntu-latest | |
container: marcusgrass/pgwm-check:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests on core with all feature permutations | |
run: cargo hack test -p pgwm-core --feature-powerset | |
- name: Run tests on project with default features | |
run: cargo test --all-features -p pgwm-core |