owncast/.github/workflows/go-lint.yml

26 lines
488 B
YAML
Raw Normal View History

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