terraria-companion/.woodpecker/ci.yml
Felipe M. ccae4b601d
feat: add CI/CD pipelines, container support, and rename to terraria-companion
Split embed.go with build tags so builds work without data files
(embed_nodata.go provides empty fallbacks, embed_data.go embeds real
data when built with -tags embed_data). Add Woodpecker CI pipeline
(format/lint/build), release pipeline (goreleaser + Docker), Containerfile,
docker-compose.yml, and goreleaser config. Update Makefile with format/lint
targets and embed_data tag on build targets. Rename project from
terraria-item-tree to terraria-companion throughout. Fix all errcheck
lint warnings in fetcher.go and server.go.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 23:44:54 +01:00

22 lines
322 B
YAML

when:
event:
- push
- pull_request
branch:
- main
steps:
format:
image: golang:1.24
commands:
- test -z "$(gofmt -l .)"
lint:
image: golangci/golangci-lint:latest
commands:
- golangci-lint run ./...
build:
image: golang:1.24
commands:
- go build -v ./...