From 2467031a271404955bfa0548f5a75908733296bc Mon Sep 17 00:00:00 2001 From: Nicholas Cristofaro Date: Wed, 11 Mar 2026 11:08:57 -0300 Subject: [PATCH 1/3] ci: Read Go version from go.mod instead of hardcoding --- .github/actions/install-go-and-deps/action.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/actions/install-go-and-deps/action.yml b/.github/actions/install-go-and-deps/action.yml index 863e955fc5..544aadc786 100644 --- a/.github/actions/install-go-and-deps/action.yml +++ b/.github/actions/install-go-and-deps/action.yml @@ -1,17 +1,12 @@ name: Install Go and Dependencies description: Install Go and Go Dependencies -inputs: - go-version: - description: Go Version - required: true - default: "~1.24" runs: using: composite steps: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: ${{ inputs.go-version }} + go-version-file: go.mod - name: Download Go dependencies shell: bash run: | From b3050f4ca07cb03a3bccc30593a21569c20c441c Mon Sep 17 00:00:00 2001 From: Nicholas Cristofaro Date: Wed, 11 Mar 2026 11:09:33 -0300 Subject: [PATCH 2/3] dev: Update golangci-lint version --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f0f9e561ad..f709ecf619 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -42,7 +42,7 @@ jobs: - name: Lint code uses: golangci/golangci-lint-action@v8 with: - version: v2.1 + version: v2.9 only-new-issues: true args: --timeout=10m ./pkg/... ./cmd/... From 4634b52e8d78702f2143adac5c0b01556acbb0c1 Mon Sep 17 00:00:00 2001 From: Nicholas Cristofaro Date: Wed, 11 Mar 2026 11:10:28 -0300 Subject: [PATCH 3/3] dev: Update go version --- go.mod | 4 ++-- tools/go.mod | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 8c2e0eede7..614cc42ad3 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module go.thethings.network/lorawan-stack/v3 -go 1.24 +go 1.26 -toolchain go1.24.1 +toolchain go1.26.1 // See https://github.com/mitchellh/mapstructure/pull/278 replace github.com/mitchellh/mapstructure => github.com/TheThingsIndustries/mapstructure v0.0.0-20230413130846-941bcd1deec3 diff --git a/tools/go.mod b/tools/go.mod index 1a89659e25..f109efde1a 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,8 +1,8 @@ module go.thethings.network/lorawan-stack/tools -go 1.24 +go 1.26 -toolchain go1.24.1 +toolchain go1.26.1 replace go.thethings.network/lorawan-stack/v3 => ../