Merge pull request 'feature/ci' (#28) from feature/ci into master

Reviewed-on: https://gitea.benny.dog/torjus/ezshare/pulls/28
This commit is contained in:
Torjus Håkestad 2022-01-03 19:13:54 +00:00
commit 221327a33a

15
.woodpecker.yml Normal file
View File

@ -0,0 +1,15 @@
pipeline:
build:
image: golang:${GO_VERSION}
commands:
- go build main.go
- go test -v ./...
when:
branch: master
event: [push, pull_request, tag, deployment]
matrix:
GO_VERSION:
- "1.17"
- "1.16"
- "latest"