name: Lint on: pull_request: push: tags: - v* branches: - master jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/setup-go@v3 with: go-version: 1.20.x - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: version: v1.51.1