Initial commit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-06-23 08:16:29 +03:00
commit 15686b146a
5 changed files with 132 additions and 0 deletions

35
.drone.yml Normal file
View File

@@ -0,0 +1,35 @@
kind: pipeline
type: docker
name: default
trigger:
branch:
- master
event:
- push
- pull_request
steps:
- name: lint
image: golangci/golangci-lint:v1.59-alpine
commands:
- golangci-lint run ./...
- name: test
image: golang:1.24-alpine
commands:
- go test -race -cover ./...
# Шаг сборки и публикации будет добавлен позже
# - name: build-and-publish
# image: plugins/docker
# settings:
# repo: gitea.mrixs.me/mrixs/yamusic-bot
# registry: gitea.mrixs.me
# username:
# from_secret: gitea_username
# password:
# from_secret: gitea_password
# auto_tag: true
# platforms:
# - linux/amd64
# - linux/arm64