Repository navigation
build(deps): bump debian from stable-20261104 to stable-20261123 in the debian group #3435
Workflow file for this run
This file contains hidden or 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: Benchmark Go code | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| benchmark: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| show-progress: false | |
| - name: Set up Go | |
| uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 | |
| with: | |
| go-version-file: go.ver | |
| cache: false | |
| - 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 | |
| if: ${{ github.event.pull_request.head.repo.full_name == 'cloudflare/pint' }} | |
| uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 | |
| with: | |
| file-path: benchstat.txt | |
| comment-tag: benchstat |