Bump github.com/gofiber/fiber/v2 from 2.49.1 to 2.49.2 in /jet #27
Workflow file for this run
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
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- "**" | |
- "!**.md" | |
pull_request: | |
paths: | |
- "**" | |
- "!**.md" | |
permissions: | |
deployments: write | |
contents: write | |
name: Benchmark | |
jobs: | |
Compare: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
# NOTE: Keep this in sync with the version from go.mod | |
go-version: "1.20.x" | |
- name: Run Benchmarks | |
run: | | |
set -o pipefail | |
for d in */ ; do | |
cd "$d" | |
go test ./... -benchmem -run=^$ -bench . | tee -a ../output.txt | |
cd .. | |
done | |
shell: bash | |
- name: Get Previous Benchmark Results | |
uses: actions/cache@v3 | |
with: | |
path: ./cache | |
key: ${{ runner.os }}-benchmark | |
- name: Save Benchmark Results | |
uses: benchmark-action/[email protected] | |
with: | |
tool: "go" | |
output-file-path: output.txt | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
benchmark-data-dir-path: "benchmarks" | |
fail-on-alert: true | |
comment-on-alert: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} | |
#summary-always: ${{ github.event_name != 'push' && github.event_name != 'workflow_dispatch' }} | |
auto-push: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} | |
save-data-file: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} |