Skip to content

Commit f0256f0

Browse files
authored
chore: Update to Go 1.24.6 and Go linter to 2.3.1 (#57)
1 parent 0554ab6 commit f0256f0

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

.github/workflows/code-health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: golangci-lint
4949
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
5050
with:
51-
version: v2.1.6 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version
51+
version: v2.3.1 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version
5252
- name: actionlint
5353
run: |
5454
make tools

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
bin
22
bin-plugin
33
.vscode
4+
.DS_Store
5+
.idea
6+
.windsurf
7+
CLAUDE.md
8+
.claude
9+
*.env
10+
*.bak
11+
*.log
12+
*.mdc
13+
__debug_*
14+
*~

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CLI_DESTINATION=./bin/$(CLI_BINARY_NAME)
44
MANIFEST_FILE?=./bin/manifest.yml
55
WIN_MANIFEST_FILE?=./bin/manifest.windows.yml
66

7-
GOLANGCI_VERSION=v2.1.6 # Also update golangci-lint GH action in code-health.yml when updating this version
7+
GOLANGCI_VERSION=v2.3.1 # Also update golangci-lint GH action in code-health.yml when updating this version
88

99
.PHONY: build
1010
build: ## Generate the binary in ./bin

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-labs/atlas-cli-plugin-terraform
22

3-
go 1.24.1
3+
go 1.24.6
44

55
require (
66
github.com/fsnotify/fsnotify v1.9.0

test/e2e/e2e_helper.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package e2e
22

33
import (
4+
"context"
45
"os/exec"
56
"testing"
67

@@ -11,7 +12,7 @@ import (
1112

1213
func RunTF(args ...string) (string, error) {
1314
args = append([]string{"tf"}, args...)
14-
cmd := exec.Command("atlas", args...)
15+
cmd := exec.CommandContext(context.Background(), "atlas", args...)
1516
resp, err := cmd.CombinedOutput()
1617
return string(resp), err
1718
}

0 commit comments

Comments
 (0)