owncast/.github/workflows/lint.yml
renovate[bot] 3cacdf6804
Update golangci/golangci-lint-action action to v3 (#1821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 09:29:48 -07:00

26 lines
489 B
YAML

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