Files
go-auth/.drone.yml
bea e71d4e989a
All checks were successful
continuous-integration/drone/push Build is passing
ci: simplify pipeline - use GOPRIVATE for direct git access, no package registry
2026-03-10 00:48:39 +01:00

38 lines
621 B
YAML

---
kind: pipeline
type: docker
name: go-auth
trigger:
event:
- push
- pull_request
- tag
environment:
GOPRIVATE: git.beatrice.wtf/panic.haus/*
GONOSUMDB: git.beatrice.wtf/panic.haus/*
GONOSUMCHECK: git.beatrice.wtf/panic.haus/*
steps:
- name: test
image: golang:1.26
volumes:
- name: go-mod-cache
path: /go/pkg/mod
commands:
- go mod download
- go test ./... -count=1
- name: build
image: golang:1.26
volumes:
- name: go-mod-cache
path: /go/pkg/mod
commands:
- go build ./...
volumes:
- name: go-mod-cache
temp: {}