From ade8c37ad1db30971999f2e8663446e65c157c49 Mon Sep 17 00:00:00 2001 From: David Hill Date: Tue, 14 May 2024 11:44:31 -0400 Subject: [PATCH] build: Update golangci-lint to 1.58.1 --- .github/workflows/go.yml | 6 +++--- .golangci.yml | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ac745d1..73fba70 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,11 +14,11 @@ jobs: steps: # Prepare env. - name: Set up Go - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 + uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 #v5.0.1 with: go-version: ${{ matrix.go }} - name: Install Linters - run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2" + run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.58.1" shell: bash - name: Set git config to please linters run: | @@ -27,6 +27,6 @@ jobs: # Test repository. - name: Check out source - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #v4.1.4 - name: Test run: sh ./run_tests.sh diff --git a/.golangci.yml b/.golangci.yml index 5080d6a..0d8bba0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -24,4 +24,3 @@ linters: - typecheck - unconvert - unused - - vetshadow