Bump go.uber.org/zap from 1.26.0 to 1.27.0 in /v4 #104
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: CB | |
on: [push] | |
permissions: | |
contents: write | |
deployments: write | |
jobs: | |
benchmarks: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: ["1.22"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Run benchmark | |
run: make benchmark | tee output.txt | |
- name: Download previous benchmark data | |
uses: actions/cache@v3 | |
with: | |
path: ./cache | |
key: ${{ runner.os }}-benchmark | |
- name: Store benchmark result | |
uses: benchmark-action/github-action-benchmark@v1 | |
with: | |
tool: "go" | |
output-file-path: output.txt | |
external-data-json-path: ./cache/benchmark-data.json | |
fail-on-alert: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
comment-always: true | |
comment-on-alert: true | |
alert-comment-cc-users: "@fr33r" |