owncast/.github/workflows/lint.yml

25 lines
459 B
YAML
Raw Normal View History

name: lint
on:
push:
pull_request:
2022-03-07 11:20:47 +03:00
permissions:
contents: read
jobs:
golangci:
2022-03-07 11:20:47 +03:00
name: Go linter
2021-05-18 20:12:52 +03:00
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v3
2022-03-07 11:20:47 +03:00
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
only-new-issues: true