Try pulling the go repo
Some checks failed
ci/woodpecker/push/go-generate Pipeline failed
ci/woodpecker/push/repo-checks Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-04-20 21:43:46 +02:00
parent bc6cb2a6e0
commit dab66a561c
2 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
---
when:
event:
- push
steps:
- name: Clone go repo
image: alpine
environment:
GITEA_USER: devops-bot
GITEA_TOKEN:
from_secret: gitea_repo_access
commands:
- apk update && apk add git
- git clone https://gitea.badhouseplants.net/softplayer/softplayer-go-proto.git
- name: Generate go code
image: bufbuild/buf
commands:
- buf generate

View File

@@ -4,8 +4,7 @@ when:
- push
steps:
lint:
name: Lint protobufs
- name: Lint protobufs
image: bufbuild/buf
commands:
- buf lint