You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
489 B
26 lines
489 B
name: lint |
|
on: |
|
push: |
|
pull_request: |
|
|
|
permissions: |
|
contents: read |
|
|
|
jobs: |
|
golangci: |
|
name: Go linter |
|
if: ${{ github.actor != 'dependabot[bot]' }} |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@v3 |
|
with: |
|
fetch-depth: 0 |
|
|
|
- uses: actions/setup-go@v3 |
|
- uses: actions/checkout@v3 |
|
- name: golangci-lint |
|
uses: golangci/golangci-lint-action@v3 |
|
with: |
|
only-new-issues: true |
|
args: --timeout=3m |
|
|
|
|