Skip to content

Commit 997c3e1

Browse files
authored
Bump Go to 1.25.0 (#242)
* Bump Go to 1.25.0 * Fix golangci-lint warning
1 parent 20f1e5f commit 997c3e1

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/go_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
test:
77
strategy:
88
matrix:
9-
go-version: [ '1.24.x', '1.25.x' ]
9+
go-version: [ '1.25.x', '1.26.x' ]
1010
os: [ubuntu-latest, macos-latest]
1111
runs-on: ${{ matrix.os }}
1212
steps:

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
- name: golangci-lint
1919
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
2020
with:
21-
version: v2.1.6
21+
version: v2.11.4
2222
args: --timeout=8m

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/transparency-dev/formats
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/google/go-cmp v0.7.0

log/checkpoint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ type moonLogCheckpoint struct {
172172
func (m moonLogCheckpoint) Marshal() []byte {
173173
b := bytes.Buffer{}
174174
b.Write(m.Checkpoint.Marshal())
175-
b.WriteString(fmt.Sprintf("%x\n%s\n", m.Timestamp, m.Phase))
175+
fmt.Fprintf(&b, "%x\n%s\n", m.Timestamp, m.Phase)
176176
return b.Bytes()
177177
}
178178

0 commit comments

Comments
 (0)