diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06fe163a..c31b3cfd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,9 +19,9 @@ jobs: with: go-version: '1.24' - name: Run golangci-lint - uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2 + uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0 with: - version: v1.64.6 + version: v2.9.0 install-mode: goinstall - name: Run CI run: make build test diff --git a/Makefile b/Makefile index e70fa19f..8b4c4cd4 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ endif # Export ARCH so it's available to subshells export ARCH -GOLANGCI_LINT_VERSION := v1.64.8 +GOLANGCI_LINT_VERSION := v2.9.0 BIN_DIR := $(shell pwd)/bin GOLANGCI_LINT := $(BIN_DIR)/golangci-lint diff --git a/go.mod b/go.mod index 67f41b4e..b1274cbf 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/rancher/norman -go 1.24.0 +go 1.26.0 -toolchain go1.24.2 +toolchain go1.26.8 require ( github.com/ghodss/yaml v1.0.0