fix: add version to internal workspace deps for crates.io publishing #8
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] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo build --workspace | |
| - run: cargo test --workspace | |
| - run: cargo clippy --workspace -- -D warnings | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - run: cargo fmt --all -- --check | |
| guardrails: | |
| name: Guardrails | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install command guardrails | |
| run: bash scripts/check-install-commands.sh | |
| - name: Canonical sister guardrails | |
| run: bash scripts/check-canonical-sister.sh | |
| - name: Runtime hardening guardrails | |
| run: bash scripts/check-runtime-hardening.sh | |
| - name: Primary problem regression | |
| run: bash scripts/test-primary-problems.sh |