Merge pull request #492 from saulshanabrook/vec-benchmark #1526
This file contains 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: Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" | |
- uses: actions/checkout@v3 | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: nextest | |
- uses: Swatinem/rust-cache@v2 | |
- run: make test | |
nits: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- run: make nits | |
benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: cargo-codspeed | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo codspeed build | |
- uses: CodSpeedHQ/action@v3 | |
with: | |
run: cargo codspeed run |