Add basic CI and additional makefile commands
parent
80e0429f09
commit
c3bb2b3475
@ -0,0 +1,19 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Unit Test and lint
|
||||||
|
image: golang:1.23-bookworm
|
||||||
|
commands:
|
||||||
|
- go mod download
|
||||||
|
- go test -v ./...
|
||||||
|
- go vet ./...
|
||||||
|
group: test-lint
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
branch:
|
||||||
|
- main
|
Loading…
Reference in New Issue