build(deps): bump vmactions/freebsd-vm from 1.4.2 to 1.4.3 in /.github/actions/check-vm #1614
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
| name: CodSpeed | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| RUSTUP_TOOLCHAIN: stable | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref_name }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| bench-matrix: | |
| name: Determine bench matrix | |
| runs-on: ubuntu-24.04 | |
| outputs: | |
| benches: ${{ steps.matrix.outputs.benches }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - id: matrix | |
| uses: ./.github/actions/bench-matrix | |
| benchmarks: | |
| name: Run ${{ matrix.bench.bench }} (${{ matrix.bench.mode }}) | |
| runs-on: ${{ matrix.bench.runner }} | |
| # TODO: Restore `environment: codspeed` once GitHub supports filtering deployment messages. | |
| # environment: codspeed | |
| needs: bench-matrix | |
| if: ${{ needs.bench-matrix.outputs.benches != '[]' }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| bench: ${{ fromJson(needs.bench-matrix.outputs.benches) }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/rust | |
| with: | |
| version: stable | |
| tools: cargo-codspeed | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: ./.github/actions/nss | |
| - name: Build bench | |
| env: | |
| BENCH: ${{ matrix.bench.bench }} | |
| CRATE: ${{ matrix.bench.crate }} | |
| MODE: ${{ matrix.bench.mode }} | |
| run: cargo codspeed build --package "$CRATE" --locked --features bench --bench "$BENCH" --measurement-mode "$MODE" | |
| - name: Run bench & upload results | |
| uses: CodSpeedHQ/action@2ac572851726409c88c02a307f1ea2632a9ea59b # v4.11.0 | |
| with: | |
| mode: ${{ matrix.bench.mode }} | |
| run: cargo codspeed run | |
| token: ${{ secrets.CODSPEED_TOKEN }} # zizmor: ignore[secrets-outside-env] |