21 lines
396 B
YAML
21 lines
396 B
YAML
|
steps:
|
||
|
- name: gofmt
|
||
|
image: golang:1.23.3
|
||
|
commands:
|
||
|
- gofmt -l -s .
|
||
|
when:
|
||
|
- event: push
|
||
|
- name: vuln-check
|
||
|
image: golang:1.23.3
|
||
|
commands:
|
||
|
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
||
|
- govulncheck ./...
|
||
|
when:
|
||
|
- event: push
|
||
|
- name: golangci-linter
|
||
|
image: golangci/golangci-lint:v1.62.0
|
||
|
commands:
|
||
|
- golangci-lint run ./...
|
||
|
when:
|
||
|
- event: push
|