Skip to content

chore: remove useless benchmarks (#217) #6

chore: remove useless benchmarks (#217)

chore: remove useless benchmarks (#217) #6

Workflow file for this run

name: Benchmark
on:
push:
branches:
- main
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Setup License
run: go run cmd/license/generate/main.go
- name: Run benchmark
run: |
go test -run=^$ -bench=. -benchmem ./... > result.txt
- name: Remove License
run: git stash
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: Go Benchmark
tool: "go"
output-file-path: result.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
benchmark-data-dir-path: "benchmark-data"
auto-push: true