Upstream merge 0.100.x (#42) #2
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: Automation - Performance | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
runperf: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- name: Setup Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: ~1.21.5 | |
- name: Run benchmark | |
run: make gobenchmark | |
# Disabling until fine-grained permissions token enabled for the | |
# repository | |
#- name: Store benchmark result | |
# uses: benchmark-action/github-action-benchmark@v1 | |
# with: | |
# tool: 'go' | |
# output-file-path: benchmarks.txt | |
# gh-pages-branch: gh-pages | |
# auto-push: true | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# benchmark-data-dir-path: "docs/dev/bench" |