-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (44 loc) · 1.18 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
# For spec detail, see https://github.com/golangci/golangci-lint-action.
name: golangci-lint
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
branches:
- main
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/checkout@v3
- name: golangci-lint-kuesta
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: .
args: --timeout 3m0s
- name: golangci-lint-provisioner
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: ./provisioner
args: --timeout 3m0s
- name: golangci-lint-device-operator
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: ./device-operator
args: --timeout 3m0s
- name: golangci-lint-device-subscriber
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: ./device-subscriber
args: --timeout 3m0s