Skip to content

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.0 in /tools/golangci-lint #1754

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.0 in /tools/golangci-lint

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.0 in /tools/golangci-lint #1754

Workflow file for this run

name: Benchmark Go code
on:
pull_request:
branches:
- main
permissions:
pull-requests: write
jobs:
test-go:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: false
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Fetch test rules
run: make -C cmd/pint/bench fetch
- name: Benchmark PR branch
run: |
make benchmark | tee new.txt
- name: Benchmark main branch
run: |
git fetch origin main
git reset --hard FETCH_HEAD
make benchmark | tee old.txt
- name: Diff benchmarks
run: |
git reset --hard ${GITHUB_SHA}
make benchmark-diff
- name: Report
uses: thollander/actions-comment-pull-request@v2
with:
filePath: benchstat.txt
comment_tag: benchstat