diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index ad7c890..24befda 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -16,12 +16,12 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22' - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.56.1 + version: v1.61.0 skip-go-installation: true skip-pkg-cache: true args: --timeout=5m diff --git a/go.mod b/go.mod index 7e5d5a1..0c8580d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nunnatsa/ginkgolinter -go 1.21 +go 1.22 require ( github.com/go-toolsmith/astcopy v1.1.0 diff --git a/internal/gomegahandler/handler_test.go b/internal/gomegahandler/handler_test.go index 7585a11..22396e4 100644 --- a/internal/gomegahandler/handler_test.go +++ b/internal/gomegahandler/handler_test.go @@ -1,3 +1,4 @@ +//nolint:staticcheck package gomegahandler import (