api: add documentation

This commit is contained in:
aler9 2021-08-07 18:28:27 +02:00 committed by Alessandro Ros
parent fdd487f3c5
commit 3134b95e80
6 changed files with 461 additions and 20 deletions

View file

@ -7,7 +7,7 @@ on:
branches: [ main ]
jobs:
golangci-lint:
code:
runs-on: ubuntu-20.04
steps:
@ -17,7 +17,7 @@ jobs:
with:
version: v1.38
go-mod-tidy:
mod-tidy:
runs-on: ubuntu-20.04
steps:
@ -31,3 +31,11 @@ jobs:
go mod download
go mod tidy
git diff --exit-code
api:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: make api-lint