1
Fork 0

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
View File

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

17
.woodpecker.yml Normal file
View 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 .

View File

@ -1,6 +1,10 @@
# 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
package main