-
Notifications
You must be signed in to change notification settings - Fork 0
77 lines (75 loc) · 2.23 KB
/
golangci-lint.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: golangci-lint
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
branches:
- 'main'
- 'rc-*'
- 'hotfix-*'
- 'develop'
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- run: cd common-lib && go get oras.land/oras-go/pkg/auth/docker && go mod tidy && go mod download && go mod vendor
name: installing oras.land package
- name: golangci-lint-common-lib
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout=30m --verbose
only-new-issues: "true"
working-directory: common-lib
- name: golangci-lint-authenticator
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
working-directory: authenticator
args: --timeout=30m --verbose
only-new-issues: "true"
- name: golangci-lint-chart-sync
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout=30m --verbose
only-new-issues: "true"
working-directory: chart-sync
- name: golangci-lint-kubewatch
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout=30m --verbose
only-new-issues: "true"
working-directory: kubewatch
- name: golangci-lint-git-sensor
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout=30m --tests=false --verbose
only-new-issues: "true"
working-directory: git-sensor
- name: golangci-lint-kubelink
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout=30m --tests=false --verbose
only-new-issues: "true"
working-directory: kubelink
- name: golangci-lint-lens
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout=30m --tests=false --verbose
only-new-issues: "true"
working-directory: lens