add core lib

This commit is contained in:
2026-03-01 03:04:10 +01:00
parent 9a6818ea3c
commit baa764befd
22 changed files with 2353 additions and 0 deletions

62
.drone.yml Normal file
View File

@@ -0,0 +1,62 @@
---
kind: pipeline
type: docker
name: go-core-ci
trigger:
branch:
- main
- develop
event:
- push
- pull_request
environment:
GOPROXY: https://nexus.beatrice.wtf/repository/go-group/,direct
GOPRIVATE: git.beatrice.wtf/panic.haus/*
GONOSUMDB: git.beatrice.wtf/panic.haus/*
steps:
- name: test
image: golang:1.26
commands:
- go mod download
- go test ./... -count=1
- name: build
image: golang:1.26
commands:
- go build ./...
---
kind: pipeline
type: docker
name: go-core-release
trigger:
event:
- tag
ref:
- refs/tags/v*
environment:
GOPROXY: https://nexus.beatrice.wtf/repository/go-group/,direct
GOPRIVATE: git.beatrice.wtf/panic.haus/*
GONOSUMDB: git.beatrice.wtf/panic.haus/*
steps:
- name: test
image: golang:1.26
commands:
- go mod download
- go test ./... -count=1
- name: build
image: golang:1.26
commands:
- go build ./...
- name: warm-proxy
image: golang:1.26
commands:
- go list -m git.beatrice.wtf/panic.haus/go-core@${DRONE_TAG}