diff --git a/.github/workflows/code-health.yml b/.github/workflows/code-health.yml index 6bcfbfe..0b844f9 100644 --- a/.github/workflows/code-health.yml +++ b/.github/workflows/code-health.yml @@ -48,7 +48,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 with: - version: v2.1.6 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version + version: v2.3.1 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version - name: actionlint run: | make tools diff --git a/.gitignore b/.gitignore index 497fe3e..4114333 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,14 @@ bin bin-plugin .vscode +.DS_Store +.idea +.windsurf +CLAUDE.md +.claude +*.env +*.bak +*.log +*.mdc +__debug_* +*~ diff --git a/Makefile b/Makefile index e211920..68ab53f 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CLI_DESTINATION=./bin/$(CLI_BINARY_NAME) MANIFEST_FILE?=./bin/manifest.yml WIN_MANIFEST_FILE?=./bin/manifest.windows.yml -GOLANGCI_VERSION=v2.1.6 # Also update golangci-lint GH action in code-health.yml when updating this version +GOLANGCI_VERSION=v2.3.1 # Also update golangci-lint GH action in code-health.yml when updating this version .PHONY: build build: ## Generate the binary in ./bin diff --git a/go.mod b/go.mod index 60c455e..61bc596 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mongodb-labs/atlas-cli-plugin-terraform -go 1.24.1 +go 1.24.6 require ( github.com/fsnotify/fsnotify v1.9.0 diff --git a/test/e2e/e2e_helper.go b/test/e2e/e2e_helper.go index 9053b51..bbff09f 100644 --- a/test/e2e/e2e_helper.go +++ b/test/e2e/e2e_helper.go @@ -1,6 +1,7 @@ package e2e import ( + "context" "os/exec" "testing" @@ -11,7 +12,7 @@ import ( func RunTF(args ...string) (string, error) { args = append([]string{"tf"}, args...) - cmd := exec.Command("atlas", args...) + cmd := exec.CommandContext(context.Background(), "atlas", args...) resp, err := cmd.CombinedOutput() return string(resp), err }