Compare commits

...

1 Commits

Author SHA1 Message Date
jolheiser 7384e4c19e
Rewrite pipeline
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-08 15:42:43 -05:00
2 changed files with 7 additions and 32 deletions

View File

@ -1,17 +1,9 @@
---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
pipeline:
compliance:
when:
event:
- pull_request
image: golang:1.17
commands:
- make test
- name: check
pull: always
image: golang:1.17
commands:
- make vet
- go test -race ./...
- go vet ./...

View File

@ -1,17 +0,0 @@
GO ?= go
.PHONY: vet
vet:
$(GO) vet ./...
.PHONY: fmt
fmt:
$(GO) fmt ./...
.PHONY: test
test:
$(GO) test -race ./...
.PHONY: bench
bench:
$(GO) test -benchmem -bench=.