owncast/.github/workflows/lint.yml
renovate[bot] d4c7f183eb
Update actions/setup-go action to v3 (#1814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 13:52:54 -07:00

25 lines
459 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@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v3
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
only-new-issues: true