Skip to content

Commit ec546b1

Browse files
author
Gustavo Bazan
authored
task: update go version (#3294)
1 parent 3ed262e commit ec546b1

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/code-health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v6.1.0
2424
with:
25-
version: v1.60.3
25+
version: v1.61.0
2626
unit-tests:
2727
env:
2828
COVERAGE: coverage.out

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A Self-Documenting Makefile: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
22

3-
GOLANGCI_VERSION=v1.60.3
3+
GOLANGCI_VERSION=v1.61.0
44
COVERAGE=coverage.out
55

66
MCLI_GIT_SHA?=$(shell git rev-parse HEAD)

build/ci/evergreen.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ include:
2121

2222
variables:
2323
- &go_linux_version
24-
go_root: "/opt/golang/go1.22"
25-
go_bin: "/opt/golang/go1.22/bin"
24+
go_root: "/opt/golang/go1.23"
25+
go_bin: "/opt/golang/go1.23/bin"
2626
go_base_path: ""
2727
- &go_env
2828
XDG_CONFIG_HOME: ${go_base_path}${workdir}

build/ci/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
variables:
22
- &go_linux_version
3-
go_root: "/opt/golang/go1.22"
4-
go_bin: "/opt/golang/go1.22/bin"
3+
go_root: "/opt/golang/go1.23"
4+
go_bin: "/opt/golang/go1.23/bin"
55
go_base_path: ""
66
- &go_windows_version
7-
go_root: "c:\\golang\\go1.22"
8-
go_bin: "c:\\golang\\go1.22\\bin"
7+
go_root: "c:\\golang\\go1.23"
8+
go_bin: "c:\\golang\\go1.23\\bin"
99
go_base_path: "c:"
1010
- &go_env
1111
XDG_CONFIG_HOME: ${go_base_path}${workdir}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/mongodb/mongodb-atlas-cli/atlascli
22

3-
go 1.22.5
3+
go 1.23.1
44

55
require (
66
cloud.google.com/go/kms v1.20.0

internal/decryption/log_record.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (logLine *AuditLogLine) logAdditionalAuthData() []byte {
106106
const AADByteSize = 8
107107

108108
additionalAuthData := make([]byte, AADByteSize)
109-
binary.LittleEndian.PutUint64(additionalAuthData, uint64(logLine.TS.UnixMilli()))
109+
binary.LittleEndian.PutUint64(additionalAuthData, uint64(logLine.TS.UnixMilli())) //nolint:gosec
110110
return additionalAuthData
111111
}
112112

0 commit comments

Comments
 (0)