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:
commit
221327a33a
15
.woodpecker.yml
Normal file
15
.woodpecker.yml
Normal 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"
|
Loading…
Reference in New Issue
Block a user