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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
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"