From a2d77ef8dc5ba13dadc584bd23cc9f579662dd03 Mon Sep 17 00:00:00 2001 From: Patrick Joyce Date: Sat, 23 Dec 2023 13:24:23 -0500 Subject: [PATCH] fix release lint --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb83142..757695a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,11 +11,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.20' - - name: Lint - run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2 - golangci-lint run main.go + go-version: '1.21' + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.54 release: runs-on: ubuntu-22.04