From e05a821ef63db824603e4e28ab0f76ba3160b3cb Mon Sep 17 00:00:00 2001 From: Nick Hale <4175918+njhale@users.noreply.github.com> Date: Fri, 10 Apr 2026 20:18:30 -0400 Subject: [PATCH 1/2] chore: bump go Bump go version to pick up more CVE fixes. Signed-off-by: Nick Hale <4175918+njhale@users.noreply.github.com> --- .github/workflows/test.yaml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7e76035..9661b6d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-go@v5 with: cache: false - go-version: "1.23" + go-version: "1.26" - name: Validate run: make validate - name: Build diff --git a/go.mod b/go.mod index 60072d8..8886e01 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/gptscript-ai/workspace-provider -go 1.25.3 +go 1.26.2 require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v1.10.0 From 3df092077d3f0a71efb5e5e56d8210866677de10 Mon Sep 17 00:00:00 2001 From: Nick Hale <4175918+njhale@users.noreply.github.com> Date: Mon, 13 Apr 2026 10:52:30 -0400 Subject: [PATCH 2/2] chore: bump golanglint-ci and ignore error linting issues Signed-off-by: Nick Hale <4175918+njhale@users.noreply.github.com> --- .golangci.yml | 12 ++++++++++++ Makefile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..dd5e5c4 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,12 @@ +version: "2" +linters: + settings: + staticcheck: + checks: + - all + - -ST1012 + - -QF1012 + exclusions: + presets: + - comments + - std-error-handling diff --git a/Makefile b/Makefile index 191a715..e149c2d 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ tidy: test: go test -v ./pkg/... -GOLANGCI_LINT_VERSION ?= v1.60.1 +GOLANGCI_LINT_VERSION ?= v2.9.0 lint: if ! command -v golangci-lint &> /dev/null; then \ echo "Could not find golangci-lint, installing version $(GOLANGCI_LINT_VERSION)."; \