diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 38e49e8f6ff022911a2b78e61b839ae82312c44c..5e96efe53fb66c29a6ac89df81161e106f870f95 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,10 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: ^1 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: # Optional: golangci-lint command line arguments. args: --issues-exit-code=0 # Optional: show only new issues if it's a pull request. The default value is `false`. - only-new-issues: true \ No newline at end of file + only-new-issues: true