Skip to content

Commit b9330a0

Browse files
authored
go: Update version to 1.24 (#25)
* go: Update version to 1.23 * Update .github/workflows/test.yml * Update .github/workflows/test.yml * Apply suggestions from code review * main: Fix non-constant format string required in 1.24+ * danger: Simplify log.Fatal
1 parent 0c82883 commit b9330a0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/main.yml renamed to .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
- uses: actions/setup-go@v5
1111
with:
12-
go-version: '^1.22'
12+
go-version: '^1.24'
1313

1414
- uses: actions/setup-node@v4
1515
with:
@@ -41,7 +41,7 @@ jobs:
4141

4242
- uses: actions/setup-go@v5
4343
with:
44-
go-version: '^1.22'
44+
go-version: '^1.24'
4545

4646
- name: Go tests
4747
run: go test -v ./...

build/ci/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module danger-go/dangerfile
22

3-
go 1.21
3+
go 1.24
44

55
require github.com/danger/golang v0.3.0
66

cmd/danger-go/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func main() {
2727
}
2828
err := dangerJs.Process(command, rest)
2929
if err != nil {
30-
log.Fatalf(err.Error())
30+
log.Fatal(err.Error())
3131
}
3232
case "runner":
3333
runner.Run()

danger-go

4.65 MB
Binary file not shown.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/danger/golang
22

3-
go 1.21
3+
go 1.24
44

55
require github.com/stretchr/testify v1.10.0
66

0 commit comments

Comments
 (0)