diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8b245804..959adf84 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,8 +1,5 @@ name: golangci-lint -env: - SETUP_GO_VERSION: '^1.20' - on: push: pull_request: @@ -23,16 +20,16 @@ jobs: submodules: recursive - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: ${{ env.SETUP_GO_VERSION }} + go-version-file: go.mod - name: Generate Golang run: | export PATH=$PATH:/home/runner/go/bin/ - name: golangci-lint - uses: golangci/golangci-lint-action@v3.7.0 + uses: golangci/golangci-lint-action@v4.0.0 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.55 + version: v1.57