This commit is contained in:
parent
9c78ea2d48
commit
7c684af8c3
79 changed files with 3594 additions and 3257 deletions
23
.woodpecker/ci.yml
Normal file
23
.woodpecker/ci.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
branch:
|
||||
- main
|
||||
|
||||
steps:
|
||||
format:
|
||||
image: golang:1.24
|
||||
commands:
|
||||
- make format
|
||||
- git diff --exit-code # Fail if files were changed
|
||||
|
||||
lint:
|
||||
image: golang:1.24
|
||||
commands:
|
||||
- make ci-lint
|
||||
|
||||
test:
|
||||
image: golang:1.24
|
||||
commands:
|
||||
- make test
|
16
.woodpecker/release.yml
Normal file
16
.woodpecker/release.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
when:
|
||||
- event: tag
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
- name: Release
|
||||
image: goreleaser/goreleaser:latest
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: GITEA_TOKEN
|
||||
DOCKER_HOST: unix:///var/run/docker.sock
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
commands:
|
||||
- docker login -u fmartingr -p $GITEA_TOKEN git.nakama.town
|
||||
- goreleaser release --clean
|
Loading…
Add table
Add a link
Reference in a new issue