diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f70c409..83cf9a6 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -11,7 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-go@v5 + with: + go-version: "1.22" - name: golangci-lint uses: golangci/golangci-lint-action@v6 # https://github.com/marketplace/actions/run-golangci-lint with: - version: v1.58.0 + version: latest diff --git a/.golangci.yaml b/.golangci.yaml index 38c38f3..3aad14a 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,6 +1,7 @@ linters: enable: - - megacheck + - gosimple + - staticcheck, - govet - asciicheck