Skip to content

build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#58) #22

build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#58)

build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#58) #22

Workflow file for this run

name: "Generate PGO"
on:
push:
branches:
- master
paths:
- "pkg/tunnel/**.go"
- "go.*"
workflow_dispatch:
env:
PGO_FILE: "default.pgo"
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- run: go mod download
- run: |
make pprof
echo "changes=$(git status -s ${{ env.PGO_FILE }} | wc -l)" >> "$GITHUB_OUTPUT"
id: pprof
- if: ${{ steps.pprof.outputs.changes > 0 }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "ghost"
git add ${{ env.PGO_FILE }}
git commit -m "build(pgo): generate default PGO profile :robot:"
git push origin ${{ github.ref_name }}