File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- name : ' Trigger Site Rebuild on a CRON Schedule'
1
+ name : " Trigger Site Rebuild on a CRON Schedule"
2
2
3
3
on :
4
4
schedule :
5
- # runs at 02:00 every day, UTC
6
- - cron : ' 0 2 * * *'
5
+ # runs at 02:00 every day, UTC
6
+ - cron : " 0 2 * * *"
7
7
8
8
jobs :
9
9
benchmark-publish :
10
- name : Run Benchmark
10
+ name : Run Benchmark
11
+ if : github.repository == 'open-feature/flagd'
11
12
runs-on : ubuntu-latest
12
13
steps :
13
14
- uses : actions/checkout@v2
14
15
- name : Setup go
15
16
uses : actions/setup-go@v1
16
17
with :
17
- go-version : ' 1.18.1'
18
+ go-version : " 1.18.1"
18
19
- name : Run benchmark
19
20
run : go test -bench . -benchtime=5s -benchmem ./... | tee output.txt
20
21
21
22
- name : Store benchmark result
22
23
uses : benchmark-action/github-action-benchmark@v1
23
24
with :
24
25
name : Go Benchmark
25
- tool : ' go '
26
+ tool : " go "
26
27
output-file-path : output.txt
27
28
github-token : ${{ secrets.GITHUB_TOKEN }}
28
- auto-push : true
29
+ auto-push : true
You can’t perform that action at this time.
0 commit comments