feat: v0.1.0 feature wave — SSRF guard, stderr capture, doctor, fixtures #4
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 | |
| RUSTFLAGS: -D warnings | |
| jobs: | |
| checks: | |
| name: ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install nextest | |
| uses: taiki-e/install-action@v2 | |
| with: | |
| tool: nextest | |
| - name: Install cargo-deny | |
| uses: taiki-e/install-action@v2 | |
| with: | |
| tool: cargo-deny | |
| - name: Run CI checks (Linux/macOS) | |
| if: runner.os != 'Windows' | |
| run: bash scripts/ci-checks.sh | |
| - name: Run CI checks (Windows) | |
| if: runner.os == 'Windows' | |
| shell: pwsh | |
| run: pwsh scripts/ci-checks.ps1 | |
| audit: | |
| name: cargo-audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: taiki-e/install-action@v2 | |
| with: | |
| tool: cargo-audit | |
| - run: cargo audit | |
| msrv: | |
| name: MSRV (Rust 1.88) | |
| runs-on: ubuntu-latest | |
| # Verifies the declared `rust-version`. Lints are capped to `warn` here so | |
| # this stays a pure compile/edition/dependency gate — the `checks` job | |
| # enforces `-D warnings` on stable. | |
| env: | |
| RUSTFLAGS: --cap-lints=warn | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@1.88 | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo build --workspace --all-features --locked |