-
Notifications
You must be signed in to change notification settings - Fork 65
61 lines (51 loc) · 1.43 KB
/
linter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright 2020 Wayback Archiver. All rights reserved.
# Use of this source code is governed by the GNU GPL v3
# license that can be found in the LICENSE file.
#
name: Linter
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
types: [ opened, synchronize, reopened ]
permissions:
contents: read
# New runs to only cancel in-progress runs of the same workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
super-linter:
name: Super Linter
uses: wabarc/.github/.github/workflows/reusable-super-linter.yml@main
with:
filter-regex-exclude: 'install.sh'
permissions:
contents: read
packages: read
statuses: write
golangci:
name: golangci-lint
uses: wabarc/.github/.github/workflows/reusable-golangci.yml@main
with:
egress-policy: audit
shellcheck:
name: ShellCheck
uses: wabarc/.github/.github/workflows/reusable-shellcheck.yml@main
misspell:
name: Misspell
uses: wabarc/.github/.github/workflows/reusable-misspell.yml@main
alex:
name: Alex
uses: wabarc/.github/.github/workflows/reusable-alex.yml@main
urlcheck:
name: URLCheck
uses: wabarc/.github/.github/workflows/reusable-urlcheck.yml@main
with:
exclude-patterns: ${{ vars.URLCHECH_EXCLUDE }}
goreportcard:
name: Go Report Card
uses: wabarc/.github/.github/workflows/reusable-goreportcard.yml@main