Merge pull request #125 from korpling/fix/anno-mapper #434
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
on: | |
push: | |
merge_group: | |
name: Rust | |
jobs: | |
format: | |
name: Format Code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rust-lang/[email protected] | |
- uses: mbrobbel/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
static_code_analysis: | |
name: Static code analysis | |
needs: format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-rust-lang/[email protected] | |
with: | |
components: clippy | |
- uses: actions/checkout@v3 | |
- name: Check code without default features | |
run: cargo check --no-default-features | |
- name: Check with clippy with all features enabled | |
run: cargo clippy --all-features -- -D warnings |