From b282f2b21f1b61c99d669be064c6050133ff6770 Mon Sep 17 00:00:00 2001 From: Brendan Winter Date: Mon, 24 Apr 2023 16:17:09 -0700 Subject: [PATCH] Upgrade the release config. - Use the new linter and checkout actions now configured in the linter job. - v3 of golint removed the go-setup dependency: https://github.com/golangci/golangci-lint-action/pull/403 Signed-off-by: Brendan Winter --- .github/workflows/release.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81f587a..8a39413 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,19 +10,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.17 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: v1.52.2 + skip-cache: true skip-pkg-cache: true skip-build-cache: true args: --issues-exit-code=1