mirror of
https://github.com/owncast/owncast.git
synced 2024-11-27 09:45:36 +03:00
723432fb94
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
38 lines
762 B
YAML
38 lines
762 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'web/**'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'web/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
golangci:
|
|
name: Go linter
|
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- id: skip_check
|
|
uses: fkirc/skip-duplicate-actions@v5
|
|
with:
|
|
concurrent_skipping: 'same_content_newer'
|
|
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '1.18.8'
|
|
cache: true
|
|
- uses: actions/checkout@v3
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
only-new-issues: true
|
|
args: --timeout=3m
|