forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 880 Bytes
/
perf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Automation - Performance
on:
push:
branches: [main]
permissions:
contents: read
jobs:
runperf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ~1.21.5
- name: Run benchmark
run: make gobenchmark
# Disabling until fine-grained permissions token enabled for the
# repository
#- name: Store benchmark result
# uses: benchmark-action/github-action-benchmark@v1
# with:
# tool: 'go'
# output-file-path: benchmarks.txt
# gh-pages-branch: gh-pages
# auto-push: true
# github-token: ${{ secrets.GITHUB_TOKEN }}
# benchmark-data-dir-path: "docs/dev/bench"