Skip to content

Commit

Permalink
task: update go version (#3294)
Browse files Browse the repository at this point in the history
  • Loading branch information
gssbzn authored Oct 2, 2024
1 parent 3ed262e commit ec546b1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.60.3
version: v1.61.0
unit-tests:
env:
COVERAGE: coverage.out
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# A Self-Documenting Makefile: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html

GOLANGCI_VERSION=v1.60.3
GOLANGCI_VERSION=v1.61.0
COVERAGE=coverage.out

MCLI_GIT_SHA?=$(shell git rev-parse HEAD)
Expand Down
4 changes: 2 additions & 2 deletions build/ci/evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ include:

variables:
- &go_linux_version
go_root: "/opt/golang/go1.22"
go_bin: "/opt/golang/go1.22/bin"
go_root: "/opt/golang/go1.23"
go_bin: "/opt/golang/go1.23/bin"
go_base_path: ""
- &go_env
XDG_CONFIG_HOME: ${go_base_path}${workdir}
Expand Down
8 changes: 4 additions & 4 deletions build/ci/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
variables:
- &go_linux_version
go_root: "/opt/golang/go1.22"
go_bin: "/opt/golang/go1.22/bin"
go_root: "/opt/golang/go1.23"
go_bin: "/opt/golang/go1.23/bin"
go_base_path: ""
- &go_windows_version
go_root: "c:\\golang\\go1.22"
go_bin: "c:\\golang\\go1.22\\bin"
go_root: "c:\\golang\\go1.23"
go_bin: "c:\\golang\\go1.23\\bin"
go_base_path: "c:"
- &go_env
XDG_CONFIG_HOME: ${go_base_path}${workdir}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/mongodb/mongodb-atlas-cli/atlascli

go 1.22.5
go 1.23.1

require (
cloud.google.com/go/kms v1.20.0
Expand Down
2 changes: 1 addition & 1 deletion internal/decryption/log_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (logLine *AuditLogLine) logAdditionalAuthData() []byte {
const AADByteSize = 8

additionalAuthData := make([]byte, AADByteSize)
binary.LittleEndian.PutUint64(additionalAuthData, uint64(logLine.TS.UnixMilli()))
binary.LittleEndian.PutUint64(additionalAuthData, uint64(logLine.TS.UnixMilli())) //nolint:gosec
return additionalAuthData
}

Expand Down

0 comments on commit ec546b1

Please sign in to comment.