diff --git a/.woodpecker.yml b/.woodpecker.yml index e7fa66a..5a8dd29 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,6 +9,7 @@ pipeline: lint: image: golangci/golangci-lint:latest + group: compliant pull: true commands: - go version @@ -16,20 +17,24 @@ pipeline: - "[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }" - golangci-lint run --timeout 5m --build-tags integration - test: - image: golang:1.18 - commands: - - go test -race codeberg.org/codeberg/pages/server/... - build: - image: golang:1.18 + group: compliant + image: a6543/golang_just commands: - - go build + - go version + - just build + + test: + image: a6543/golang_just + group: test + commands: + - just test integration-tests: - image: golang:1.18 + image: a6543/golang_just + group: test commands: - - go test -race -tags integration codeberg.org/codeberg/pages/integration/... + - just integration environment: - ACME_API=https://acme.mock.directory - PAGES_DOMAIN=localhost.mock.directory