⬆️ Bump github.com/onsi/gomega from 1.34.2 to 1.35.1 #27
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: Continuous Benchmarking | |
on: | |
push: | |
branches: [ "main" ] | |
permissions: | |
# deployments permission to deploy GitHub pages website | |
deployments: write | |
# contents permission to update benchmark contents in gh-pages branch | |
contents: write | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Go 📦 | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run benchmark ⏱️ | |
run: go test -run '^$' -bench . -benchtime 10s ./... | tee output.txt | |
- name: Publish benchmark result to gh-pages 📰 | |
uses: benchmark-action/github-action-benchmark@v1 | |
with: | |
# What benchmark tool the output.txt came from | |
tool: 'go' | |
# Where the output from the benchmark tool is stored | |
output-file-path: output.txt | |
# Workflow will fail when an alert happens | |
fail-on-alert: true | |
# Enable Job Summary for PRs | |
summary-always: true | |
# Don't automatically push the GH Pages branch | |
auto-push: true | |
# GitHub API token to make a commit comment | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# Enable alert commit comment | |
comment-on-alert: true |