1

ci: add woodpecker
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Mya 2023-12-30 20:51:43 -06:00
parent dcd9f5c5ec
commit 9bb2be3ac5
Signed by: mya
GPG Key ID: 4DFBA0F91AC3544A
3 changed files with 23 additions and 1 deletions

1
.gitignore vendored

@ -13,6 +13,7 @@
!legal/* !legal/*
!.woodpecker.yml
!LICENSE !LICENSE
!Makefile !Makefile
!README.md !README.md

17
.woodpecker.yml Normal file

@ -0,0 +1,17 @@
# -- Switch back to depends_on when 2.1.x becomes available via cli
steps:
generate:
image: bufbuild/buf:1.28.1
commands:
- buf generate https://code.pitz.tech/licensing/proto.git
- git status -s
license:
image: golang:1.20
environment:
GO111MODULE: on
GOBIN: /usr/local/bin
commands:
- go install github.com/google/addlicense@latest
- addlicense -check -f ./legal/header.txt -skip yaml -skip yml -skip xml .

@ -1,6 +1,10 @@
# api-go # api-go
Golang implementation of the Licensing API as defined by the [proto](https://code.pitz.tech/licensing/proto) repository. [![status-badge](https://build.pitz.tech/api/badges/2/status.svg)](https://build.pitz.tech/repos/2)
A Golang implementation of the Licensing API as defined by the [proto][] repository.
[proto]: https://code.pitz.tech/licensing/proto
```go ```go
package main package main