mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 12:49:37 +03:00
c74d5b4f31
* add shellcheck to ci * test ci * install bash for shellcheck * set globstar for bash * cleanup shell scripts * do not ignore automated hls tests * rm legacy build script * update shell scripts * cleanup ci * Fix misspell * cleanup ci * fail on curl error in ci
40 lines
783 B
YAML
40 lines
783 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'webroot/**'
|
|
- 'web/**'
|
|
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'webroot/**'
|
|
- '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@v3
|
|
with:
|
|
go-version: '1.18.8'
|
|
- uses: actions/checkout@v3
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
only-new-issues: true
|
|
args: --timeout=3m
|