github.com/ninadingole/gotest-ls@v0.0.3/.github/workflows/lint.yml (about) 1 name: lint 2 3 on: 4 push: 5 tags: 6 - v* 7 branches: 8 - main 9 pull_request: 10 11 env: 12 GO_VERSION: "1.19.x" 13 14 concurrency: 15 group: ${{ github.workflow }}-${{ github.ref }} 16 cancel-in-progress: true 17 18 jobs: 19 lint: 20 name: lint 21 strategy: 22 fail-fast: false 23 runs-on: ubuntu-latest 24 steps: 25 - uses: actions/checkout@v3 26 27 - name: Set up Go ${{ env.GO_VERSION }} 28 uses: actions/setup-go@v3 29 with: 30 go-version: ${{ env.GO_VERSION }} 31 32 - name: golangci-lint 33 uses: golangci/golangci-lint-action@v3