CI publish update #34
Workflow file for this run
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
| on: [push, pull_request] | |
| name: Continuous Integration | |
| jobs: | |
| test: | |
| name: Test Suite | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-20.04 | |
| code_name: focal | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: stable | |
| override: true | |
| - run: rustup component add rustfmt clippy | |
| - uses: actions-rs/cargo@v1 | |
| with: | |
| command: install cargo-audit | |
| - name: fmt | |
| run: cargo fmt -- --check | |
| - name: clippy | |
| run: cargo clippy -- -D warnings | |
| - name: audit | |
| run: cargo audit --deny warnings --ignore RUSTSEC-2024-0375 --ignore RUSTSEC-2021-0145 | |
| - name: test | |
| run: cargo test |