Skip to content

Commit 57dcdda

Browse files
authored
Merge pull request #81 from OpenVPN/bump/go-1-24-version
Update Go version to 1.24 in workflows and go.mod
2 parents 28b2e65 + d58e20d commit 57dcdda

File tree

7 files changed

+12
-20
lines changed

7 files changed

+12
-20
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go
2929
uses: actions/setup-go@v6
3030
with:
31-
go-version: "1.23"
31+
go-version: "1.24"
3232
cache: false
3333

3434
- name: Run unit tests with coverage

.github/workflows/go.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
go:
30-
- "1.23"
3130
- "1.24"
3231
- "1.25"
3332

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v6
2020
with:
21-
go-version: "1.23"
21+
go-version: "1.24"
2222

2323
- name: golangci-lint
2424
uses: golangci/golangci-lint-action@v9

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v6
2121
with:
22-
go-version: "1.23"
22+
go-version: "1.24"
2323

2424
- name: Run GoReleaser
2525
uses: goreleaser/goreleaser-action@v6

.github/workflows/security.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,14 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v6
2222
with:
23-
go-version: "1.23"
23+
go-version: "1.24"
2424

2525
- name: Run Gosec Security Scanner
2626
uses: securego/gosec@master
2727
with:
2828
args: ./...
29-
env:
30-
CLOUDCONNEXA_BASE_URL: ${{ vars.CLOUDCONNEXA_BASE_URL }}
31-
CLOUDCONNEXA_CLIENT_ID: ${{ secrets.CLOUDCONNEXA_CLIENT_ID }}
32-
CLOUDCONNEXA_CLIENT_SECRET: ${{ secrets.CLOUDCONNEXA_CLIENT_SECRET }}
3329

34-
- name: Generate dependencies list
35-
run: go list -json -m all > go.list
36-
37-
- name: Run nancy for dependency scanning
38-
uses: sonatype-nexus-community/nancy-github-action@main
39-
with:
40-
goListFile: go.list
30+
- name: Run govulncheck
31+
run: |
32+
go install golang.org/x/vuln/cmd/govulncheck@latest
33+
govulncheck ./...

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/openvpn/cloudconnexa-go-client/v2
22

3-
go 1.23.0
3+
go 1.24.0
44

55
require (
66
github.com/stretchr/testify v1.11.0
7-
golang.org/x/time v0.12.0
7+
golang.org/x/time v0.14.0
88
)
99

1010
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
44
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
55
github.com/stretchr/testify v1.11.0 h1:ib4sjIrwZKxE5u/Japgo/7SJV3PvgjGiRNAvTVGqQl8=
66
github.com/stretchr/testify v1.11.0/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
7-
golang.org/x/time v0.12.0 h1:ScB/8o8olJvc+CQPWrK3fPZNfh7qgwCrY0zJmoEQLSE=
8-
golang.org/x/time v0.12.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
7+
golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI=
8+
golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4=
99
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1010
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1111
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

0 commit comments

Comments
 (0)