Skip to content

Commit 20cefd9

Browse files
authored
chore/go 124 upgrade (#1951)
* update go version to 1.24.0
1 parent b7b2b43 commit 20cefd9

37 files changed

+67
-70
lines changed

.github/workflows/backend_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
github_token: ${{ secrets.GITHUB_TOKEN }}
3232
goos: ${{ matrix.os }}
3333
goarch: ${{ matrix.arch }}
34-
goversion: 1.21.1
34+
goversion: 1.24.0
3535
project_path: ./backend
3636
binary_name: digger-api
3737
pre_command: export CGO_ENABLED=0

.github/workflows/backend_test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Download Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.21.1
18+
go-version: 1.24.0
1919
id: go
2020

2121
- name: Check out code into the Go module directory
@@ -36,8 +36,7 @@ jobs:
3636

3737
- name: Test
3838
run: |
39-
go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
40-
go test -json ./... | gotestfmt
39+
go test ./...
4140
env:
4241
GITHUB_PAT_TOKEN: ${{ secrets.TOKEN_GITHUB }}
4342
working-directory: backend

.github/workflows/cli_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
github_token: ${{ secrets.GITHUB_TOKEN }}
2424
goos: linux
2525
goarch: amd64
26-
goversion: 1.21.1
26+
goversion: 1.24.0
2727
project_path: ./cli/cmd/digger
2828
binary_name: digger
2929
pre_command: export CGO_ENABLED=0

.github/workflows/cli_release_multiarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
3434
goos: ${{ matrix.os }}
3535
goarch: ${{ matrix.arch }}
36-
goversion: 1.21.1
36+
goversion: 1.24.0
3737
project_path: ./cli/cmd/digger
3838
binary_name: digger
3939
pre_command: export CGO_ENABLED=0

.github/workflows/cli_test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Download Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: 1.21.1
17+
go-version: 1.24.0
1818
id: go
1919

2020
- name: Setup Opentofu
@@ -38,6 +38,5 @@ jobs:
3838
- name: Test
3939
shell: bash
4040
run: |
41-
go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
42-
go test -json ./... | gotestfmt
41+
go test ./...
4342
working-directory: cli

.github/workflows/cli_test_e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Download Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.22.0
24+
go-version: 1.24.0
2525
id: go
2626

2727
- name: Check out code into the Go module directory

.github/workflows/dgctl_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Download Go
2727
uses: actions/setup-go@v5
2828
with:
29-
go-version: 1.21.1
29+
go-version: 1.24.0
3030
id: go
3131

3232
- name: Check out repository

.github/workflows/ee_backend_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Download Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.21.1
18+
go-version: 1.24.0
1919
id: go
2020

2121
- name: Check out code into the Go module directory

.github/workflows/ee_cli_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Download Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.21.1
19+
go-version: 1.24.0
2020
id: go
2121

2222
- name: Check out repository
@@ -29,7 +29,7 @@ jobs:
2929
github_token: ${{ secrets.GITHUB_TOKEN }}
3030
goos: linux
3131
goarch: amd64
32-
goversion: 1.21.1
32+
goversion: 1.24.0
3333
project_path: ./ee/cli/cmd/digger
3434
binary_name: digger
3535
pre_command: export CGO_ENABLED=0

.github/workflows/ee_cli_release_multiarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
3434
goos: ${{ matrix.os }}
3535
goarch: ${{ matrix.arch }}
36-
goversion: 1.21.1
36+
goversion: 1.24.0
3737
project_path: ./ee/cli/cmd/digger
3838
binary_name: digger
3939
pre_command: export CGO_ENABLED=0

0 commit comments

Comments
 (0)