A couple up updates
Some checks failed
ci/woodpecker/push/lint Pipeline failed

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-04-19 22:14:28 +02:00
parent 066985346d
commit 4c45fd39fb
2 changed files with 12 additions and 4 deletions

View File

@@ -6,6 +6,10 @@ when:
steps:
lint:
name: Lint protobufs
image: yoheimuta/protolint
image: golang:1.26.2-alpine3.22
commands:
- protolint lint $(find . -type f -iname "*.proto")
- apk update
- apk add bash
- curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.alpine.sh' | sudo -E bash
- apk add task
- task lint

View File

@@ -10,8 +10,10 @@ vars:
PROTODOC: "{{.LOCALBIN}}/protodoc"
PROTOLINT: "{{.LOCALBIN}}/protolint"
tasks:
container-lint:
lint:
desc: Run linter in a container
deps:
- protolint
cmd: |-
"{{.CONTAINER_TOOL}}" run --rm \
-v $PWD:/workspace:z \
@@ -19,8 +21,10 @@ tasks:
docker.io/yoheimuta/protolint:latest lint \
$(find . -type f -iname "*.proto")
container-docs:
gen-docs:
desc: Generate docs in a container
deps:
- protodoc
cmd: |-
"{{.CONTAINER_TOOL}}" run --rm \
-v $PWD/proto:/protos \