Skip to content

Commit 077dde1

Browse files
committed
temporary: try alert comment
1 parent dcbee47 commit 077dde1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
output-file-path: examples/go/output.txt
6464
skip-fetch-gh-pages: true
6565
fail-on-alert: true
66+
github-token: ${{ secrets.GITHUB_TOKEN }}
67+
comment-on-alert: true
68+
alert-comment-cc-users: '@rhysd'
6669
- run: node ./scripts/ci_validate_modification.js before_data.js 'Go Benchmark'
6770
benchmarkjs:
6871
name: Run JavaScript benchmark example

examples/go/fib_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import (
66

77
func BenchmarkFib10(b *testing.B) {
88
for i := 0; i < b.N; i++ {
9-
var _ = Fib(10)
9+
var _ = Fib(13)
1010
}
1111
}
1212

1313
func BenchmarkFib20(b *testing.B) {
1414
for i := 0; i < b.N; i++ {
15-
var _ = Fib(20)
15+
var _ = Fib(23)
1616
}
1717
}

0 commit comments

Comments
 (0)