add apidocs
This commit is contained in:
parent
53a8e1f581
commit
1b67499da1
1 changed files with 15 additions and 2 deletions
17
.github/workflows/go.yml
vendored
17
.github/workflows/go.yml
vendored
|
|
@ -10,8 +10,6 @@ on:
|
|||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -33,3 +31,18 @@ jobs:
|
|||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
||||
apidoc:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Create docs
|
||||
uses: actions/apidoc@v1
|
||||
with:
|
||||
input: /
|
||||
output: docs
|
||||
|
||||
- name: List docs
|
||||
run: ls -l docs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue