File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,15 @@ jobs:
17
17
dotnet-version : ' 6.x'
18
18
- name : Run benchmark
19
19
run : cd src/FluentAssertions.Analyzers.BenchmarkTests && dotnet run -c Release --exporters json --filter '*'
20
- # Download previous benchmark result from cache (if exists)
21
- - name : Download previous benchmark data
22
- uses : actions/cache@v1
23
- with :
24
- path : ./cache
25
- key : ${{ runner.os }}-benchmark
26
- # Run `github-action-benchmark` action
20
+
27
21
- name : Store benchmark result
28
- uses : benchmark-action /github-action-benchmark@v1
22
+ uses : rhysd /github-action-benchmark@v1
29
23
with :
30
- # What benchmark tool the output.txt came from
24
+ name : FluentAssertions.Analyzers Benchmark
31
25
tool : ' benchmarkdotnet'
32
- # Where the output from the benchmark tool is stored
33
- output-file-path : output.txt
34
- # Where the previous data file is stored
35
- external-data-json-path : ./cache/benchmark-data.json
36
- # Workflow will fail when an alert happens
26
+ output-file-path : src/FluentAssertions.Analyzers.BenchmarkTests/results/Benchmarks-report-results.json
27
+ github-token : ${{ secrets.GITHUB_TOKEN }}
28
+ auto-push : true
29
+ alert-threshold : ' 200% '
30
+ comment-on- alert: true
37
31
fail-on-alert : true
You can’t perform that action at this time.
0 commit comments