chore(deps): update codspeedhq/action digest to daf3e64 (#103) #257
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: [ "develop" ] | |
| pull_request: { } | |
| workflow_dispatch: { } | |
| permissions: | |
| actions: read | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - uses: ./.github/actions/setup-rust | |
| - name: Rust Build | |
| run: cargo build --all-features --all-targets | |
| - name: Rust Lint - Format | |
| run: cargo fmt --all --check | |
| - name: Rust Lint - Clippy | |
| run: cargo clippy --all-features --all-targets | |
| - name: Rust Test | |
| run: cargo test --workspace --all-features | |
| bench-codspeed: | |
| name: Benchmark with Codspeed | |
| runs-on: | |
| - runs-on=${{ github.run_id }} | |
| - family=c6id.8xlarge | |
| - image=ubuntu24-full-x64 | |
| - tag=bench-codspeed | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - uses: ./.github/actions/setup-rust | |
| - name: Install Codspeed | |
| shell: bash | |
| run: cargo install --force cargo-codspeed --locked | |
| - name: Build benchmarks | |
| env: | |
| RUSTFLAGS: "-C target-feature=+avx2" | |
| run: | | |
| cargo codspeed build --profile bench | |
| - name: Run benchmarks | |
| uses: CodSpeedHQ/action@daf3e64a6d2f9906e7267edc3b9d354262c8442f # v4 | |
| with: | |
| run: cargo codspeed run | |
| token: ${{ secrets.CODSPEED_TOKEN }} | |
| mode: instrumentation |