.drone.yml: use explizit version definition
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
de84be90d0
commit
47e7138e58
1 changed files with 3 additions and 3 deletions
|
@ -3,14 +3,14 @@ name: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: gofmt
|
- name: gofmt
|
||||||
image: golang:1.21
|
image: golang:1.21.7
|
||||||
commands:
|
commands:
|
||||||
- gofmt -l -s .
|
- gofmt -l -s .
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- name: vuln-check
|
- name: vuln-check
|
||||||
image: golang:1.21
|
image: golang:1.21.7
|
||||||
commands:
|
commands:
|
||||||
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
- govulncheck ./...
|
- govulncheck ./...
|
||||||
|
@ -111,4 +111,4 @@ volumes:
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
Loading…
Reference in a new issue