owncast/.github/workflows/lint.yml
2022-04-10 11:54:39 +00:00

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