Move to woodpecker (#6)
continuous-integration/woodpecker the build was successful Details

Reviewed-on: #6
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
pull/7/head
jolheiser 2021-10-08 20:55:54 +00:00
parent 7017051b60
commit 99bf189237
3 changed files with 8 additions and 34 deletions

View File

@ -1,17 +0,0 @@
---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: golang:1.16
commands:
- make test
- name: check
pull: always
image: golang:1.16
commands:
- make vet

8
.woodpecker.yml 100644
View File

@ -0,0 +1,8 @@
pipeline:
compliance:
image: golang:1.17
commands:
- go test -race ./...
- go vet ./...
when:
event: [ pull_request ]

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=.