We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d58ad30 + 3de8df9 commit ad9dad0Copy full SHA for ad9dad0
.drone.yml
@@ -14,9 +14,11 @@ steps:
14
- name: staticcheck
15
pull: always
16
image: golang:1.19
17
+ environment:
18
+ GO111MODULE: "on" # Explicitly enable Go modules
19
commands:
- - go get honnef.co/go/tools/cmd/staticcheck
- - go run honnef.co/go/tools/cmd/staticcheck ./...
20
+ - go install honnef.co/go/tools/cmd/staticcheck@v0.4.3
21
+ - staticcheck ./...
22
volumes:
23
- name: gopath
24
path: /go
0 commit comments