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: | 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/... 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 => ../