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