github.com/facebookincubator/go-belt@v0.0.0-20230703220935-39cd348f1a38/.github/workflows/golangci-lint.yml (about)

     1  name: golangci-lint
     2  on:
     3    push:
     4      tags:
     5        - v*
     6      branches:
     7        - main
     8    pull_request:
     9  permissions:
    10    contents: read
    11    pull-requests: read
    12  jobs:
    13    golangci:
    14      name: lint
    15      runs-on: ubuntu-latest
    16      steps:
    17        - uses: actions/setup-go@v3
    18          with:
    19            go-version: 1.19
    20        - uses: actions/checkout@v3
    21        - name: golangci-lint
    22          uses: golangci/golangci-lint-action@v3
    23          with:
    24            only-new-issues: true