Skip to content

Commit 0b2828c

Browse files
authored
Downgrade bazel to fix build (#195)
* Downgrade bazel to fix build Bazel 7 results in build failuires when run under github's action runners. * Remove Bazel lockfile * Attempt to use 6.4.0 * Fix lint warning
1 parent 1aea173 commit 0b2828c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.4.0

go/testing/e2eresults.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
package testing
1919

2020
import (
21-
"fmt"
21+
"strconv"
2222
"strings"
2323
"syscall/js"
2424

@@ -58,7 +58,7 @@ func WriteResults(d *dom.Doc, errs []error) {
5858
dom.AppendChild(results, d.NewElement("div"), func(failureCount js.Value) {
5959
// Allow the element to be read by automation.
6060
failureCount.Set("id", "failureCount")
61-
dom.AppendChild(failureCount, d.NewText(fmt.Sprintf("%d", len(errs))), nil)
61+
dom.AppendChild(failureCount, d.NewText(strconv.Itoa(len(errs))), nil)
6262
})
6363

6464
// Enumerate the failures. This is a more readable list of the

0 commit comments

Comments
 (0)