Skip to content

Bump golangci/golangci-lint-action from 3.7.0 to 5.0.0 #403

Bump golangci/golangci-lint-action from 3.7.0 to 5.0.0

Bump golangci/golangci-lint-action from 3.7.0 to 5.0.0 #403

Workflow file for this run

name: Benchmark
on: pull_request
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "^1.22"
- name: Checkout Code (Previous)
uses: actions/checkout@v3
with:
ref: ${{ github.base_ref }}
path: previous
- name: Checkout Code (New)
uses: actions/checkout@v3
with:
path: new
- name: Install Dependencies
run: go install golang.org/x/perf/cmd/benchstat@latest
- name: Run Benchmark (Previous)
run: |
cd previous
make bench
- name: Run Benchmark (New)
run: |
cd new
make bench
- name: Run Benchstat
run: |
benchstat previous/tmp/bench.txt new/tmp/bench.txt