Skip to content

build(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#1254) #1516

build(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#1254)

build(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#1254) #1516

Workflow file for this run

name: Benchmarks
# Benchmarks workflow runs benchmark tests and compares the results with the ones present on the master branch.
# This workflow is run on pushes to master & every Pull Requests where a .go, .mod, .sum have been changed
on:
pull_request:
push:
branches:
- master
jobs:
Benchmarks:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: '1.19'
- name: Compute diff 📜
uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Go cache 💾
if: env.GIT_DIFF
uses: actions/cache@v3
with:
path: ~/go/pkg
key: ${{ runner.os }}-go-pkg-${{ hashFiles('**/go.mod') }}
- name: Restore benchstat 🪛
if: env.GIT_DIFF
uses: actions/cache@v3
with:
path: ~/go/bin/benchstat
key: ${{ runner.os }}-benchstat
- name: Restore base benchmark result 📝
if: env.GIT_DIFF
uses: actions/cache@v3
with:
path: |
bench-master.txt
# Using base sha for PR or new commit hash for master/main push in benchmark result key.
key: ${{ runner.os }}-bench-${{ (github.event.pull_request.base.sha != github.event.after) && github.event.pull_request.base.sha || github.event.after }}
- name: Run benchmarks 🧮
if: env.GIT_DIFF
run: REF_NAME=${GITHUB_REF##*/} make benchmark