ci: add woodpecker
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
dcd9f5c5ec
commit
9bb2be3ac5
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,6 +13,7 @@
|
||||
|
||||
!legal/*
|
||||
|
||||
!.woodpecker.yml
|
||||
!LICENSE
|
||||
!Makefile
|
||||
!README.md
|
||||
|
17
.woodpecker.yml
Normal file
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
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user