-
Notifications
You must be signed in to change notification settings - Fork 15
45 lines (38 loc) · 1.09 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
name: GolangCIlint
on:
pull_request:
paths-ignore:
- 'documentation/**'
- 'scripts/**'
- 'tools/**'
jobs:
golangci-lint:
name: GolangCI-Lint
runs-on: self-hosted
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
#- name: Checkout custom linter
# uses: actions/checkout@v4
# with:
# repository: iotaledger/typegroupingcheck
# path: typegroupingcheck
#- name: Setup go
# uses: actions/setup-go@v5
# with:
# go-version-file: './typegroupingcheck/go.mod'
#- name: Build custom linter
# working-directory: ./typegroupingcheck
# run: |
# go build -buildmode=plugin -o typegroupingcheck.so
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
skip-cache: true
version: latest
install-mode: goinstall
args: --timeout=10m # --enable typegroupingcheck