From e8c8e40d246e8a2279f296846dc19673a6a93cd6 Mon Sep 17 00:00:00 2001 From: Miriah Peterson Date: Fri, 10 Jan 2025 10:20:21 -0700 Subject: [PATCH] cicd: fix linter Signed-off-by: Miriah Peterson --- .github/workflows/go.yml | 5 ++--- .golangci-lint.yml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b013115..71de6aa 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,13 +16,12 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: 1.23 # add linting and test step - name: lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: - version: v1.29 only-new-issues: true - name: test # run only valid tests diff --git a/.golangci-lint.yml b/.golangci-lint.yml index ec532d2..c1443e3 100644 --- a/.golangci-lint.yml +++ b/.golangci-lint.yml @@ -24,7 +24,7 @@ run: # Define the Go version limit. # Mainly related to generics support in go1.18. # Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17 - go: '1.18' + go: '1.23' linters: # Enable specific linter # https://golangci-lint.run/usage/linters/#enabled-by-default-linters