From e600a42f582f01b6b4276a24da9b11de9596d7d6 Mon Sep 17 00:00:00 2001 From: Casey Callendrello Date: Tue, 17 Sep 2024 11:44:57 +0200 Subject: [PATCH] ci: bump golangci-lint to v1.61.0 Also, fix some deprecated config directives. Signed-off-by: Casey Callendrello --- .github/workflows/test.yaml | 3 +-- .golangci.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1d6bfa872..58db1eae4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,9 +24,8 @@ jobs: format: auto - uses: golangci/golangci-lint-action@v6 with: - version: v1.55.2 + version: v1.61.0 args: -v - skip-cache: true verify-vendor: name: Verify vendor directory runs-on: ubuntu-latest diff --git a/.golangci.yml b/.golangci.yml index 0b3386a4e..8ba6f9d02 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -40,6 +40,5 @@ linters-settings: - prefix(github.com/containernetworking) run: - skip-dirs: - - vendor timeout: 5m + modules-download-mode: vendor