File tree 7 files changed +7
-32
lines changed
7 files changed +7
-32
lines changed Original file line number Diff line number Diff line change 1
1
tap "golangci/tap"
2
2
tap "kyoh86/tap"
3
- tap "sonatype-nexus-community/nancy-tap"
4
3
tap "sv-tools/apps"
5
4
tap "goreleaser/tap"
6
5
7
6
# Fast linters runner for Go.
8
7
brew "golangci/tap/golangci-lint"
9
8
# Rich-Go will enrich `go test` outputs with text decorations
10
9
brew "kyoh86/tap/richgo"
11
- # A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
12
- brew "sonatype-nexus-community/nancy-tap/nancy"
13
10
# bumptag is a tool to increment a version and to create a git tag with an annotation.
14
11
brew "sv-tools/apps/bumptag"
15
12
# Deliver Go binaries as fast and easily as possible
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
CodeQL :
18
- # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
19
18
runs-on : ubuntu-latest
20
19
20
+ permissions :
21
+ security-events : write
22
+
21
23
steps :
22
24
- name : Checkout repository
23
25
uses : actions/checkout@v2
24
26
25
- # Initializes the CodeQL tools for scanning.
26
27
- name : Initialize CodeQL
27
28
uses : github/codeql-action/init@v1
28
29
with :
69
70
version : latest
70
71
skip-build-cache : true
71
72
skip-go-installation : true
72
-
73
- Nancy :
74
- runs-on : ubuntu-latest
75
-
76
- steps :
77
- - name : Checkout repository
78
- uses : actions/checkout@v2
79
-
80
- - name : Install Go
81
- uses : actions/setup-go@v2
82
- with :
83
- go-version : ${{ env.GO }}
84
-
85
- - name : Prepare go list
86
- run : go list -json -m all > go.list
87
-
88
- - name : Run Nancy
89
- uses :
sonatype-nexus-community/[email protected]
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ linters:
16
16
- gocyclo
17
17
- goerr113
18
18
- gofumpt
19
- - golint
20
19
- goprintffuncname
21
20
- gosec
22
21
- ifshort
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ifeq ($(shell uname), Darwin)
7
7
all : brew-install
8
8
endif
9
9
10
- all : tidy lint nancy test done
10
+ all : tidy lint test done
11
11
12
12
done :
13
13
@echo " $( OK_COLOR) ==> Done.$( NO_COLOR) "
@@ -26,10 +26,6 @@ run-benchmark:
26
26
27
27
test : run-test run-benchmark
28
28
29
- nancy :
30
- @echo " $( OK_COLOR) ==> Checking Vulnerability via nancy...$( NO_COLOR) "
31
- @go list -json -m all | nancy sleuth --quiet
32
-
33
29
lint :
34
30
@echo " $( OK_COLOR) ==> Linting via golangci-lint...$( NO_COLOR) "
35
31
@golangci-lint run --fix ./...
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/spf13/pflag v1.0.5
7
7
github.com/stretchr/testify v1.7.0
8
- github.com/sv-tools/conf v1.2.0
8
+ github.com/sv-tools/conf v1.2.1
9
9
)
10
10
11
11
require (
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
11
11
github.com/stretchr/testify v1.2.2 /go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs =
12
12
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY =
13
13
github.com/stretchr/testify v1.7.0 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
14
- github.com/sv-tools/conf v1.2.0 h1:wnY7DVMopQxY8tI8dEYI9KV24f+32iPvAcmOZtHmMdQ =
15
- github.com/sv-tools/conf v1.2.0 /go.mod h1:JXH0HRFlTwyvLPr0IbD3CNHdp9oiQujuj+iIuYdRkmQ =
14
+ github.com/sv-tools/conf v1.2.1 h1:vxUFIU1TA5XFukIidPS2PH3bS8wq1O73+uZ7xEIInCE =
15
+ github.com/sv-tools/conf v1.2.1 /go.mod h1:OaofESH1b31AhuR6oHHSoAt6pdcBouIELgwVPoQx6kc =
16
16
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
17
17
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
18
18
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo =
You can’t perform that action at this time.
0 commit comments