File tree 2 files changed +47
-0
lines changed 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,21 @@ permissions:
10
10
packages : write
11
11
12
12
jobs :
13
+ lint :
14
+ name : Lint
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ -
19
+ name : Set up Go
20
+ uses : actions/setup-go@v5
21
+ with :
22
+ go-version-file : ' go.mod'
23
+ - name : golangci-lint
24
+ uses : golangci/golangci-lint-action@v8
25
+ with :
26
+ only-new-issues : true
27
+
13
28
releaser :
14
29
name : Release
15
30
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ version : " 2"
2
+
3
+ run :
4
+ issues-exit-code : 1
5
+
6
+ formatters :
7
+ enable :
8
+ - gofmt
9
+ - gci
10
+
11
+ linters :
12
+ enable :
13
+ - wrapcheck
14
+ settings :
15
+ wrapcheck :
16
+ ignore-package-globs :
17
+ # We already make sure your own packages wrap errors properly
18
+ - github.com/symfony-cli/*
19
+ errcheck :
20
+ exclude-functions :
21
+ - github.com/symfony-cli/terminal.Print
22
+ - github.com/symfony-cli/terminal.Printf
23
+ - github.com/symfony-cli/terminal.Println
24
+ - github.com/symfony-cli/terminal.Printfln
25
+ - github.com/symfony-cli/terminal.Eprint
26
+ - github.com/symfony-cli/terminal.Eprintf
27
+ - github.com/symfony-cli/terminal.Eprintln
28
+ - github.com/symfony-cli/terminal.Eprintfln
29
+ - github.com/symfony-cli/terminal.Eprint
30
+ - fmt.Fprintln
31
+ - fmt.Fprintf
32
+ - fmt.Fprint
You can’t perform that action at this time.
0 commit comments