test(config,git,logger): add some test functions

This commit is contained in:
Tom Neuber 2024-12-06 23:56:18 +01:00
parent 316e5de757
commit 1356128a7b
Signed by: tom
GPG key ID: F17EFE4272D89FF6
16 changed files with 387 additions and 25 deletions

View file

@ -1,4 +1,17 @@
steps:
- name: gofmt
image: golang:1.22.5
commands:
- gofmt -l -s .
when:
- event: push
- name: vuln-check
image: golang:1.22.5
commands:
- go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./...
when:
- event: push
- name: golangci-linter
image: golangci/golangci-lint:v1.59.1
commands: