fix(release): bump to v0.2.3, add version to spma path dep in spma-cli #45
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: CI | |
| on: | |
| push: | |
| branches: [main, release, "feat/**", "fix/**", "chore/**"] | |
| pull_request: | |
| branches: [main, release] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Check formatting | |
| run: cargo fmt --check | |
| - name: Clippy | |
| run: cargo clippy --workspace -- -D warnings | |
| - name: Build | |
| run: cargo build --workspace | |
| - name: Test | |
| run: cargo test --workspace --locked | |
| - name: Install cargo-audit | |
| if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request' | |
| run: cargo install cargo-audit --locked --quiet | |
| - name: Security audit | |
| if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request' | |
| run: cargo audit |