From 1b67499da19e1c3fb2ae921389f6135a8d655320 Mon Sep 17 00:00:00 2001 From: Peter Rounce Date: Tue, 7 Feb 2023 15:29:35 +0000 Subject: [PATCH] add apidocs --- .github/workflows/go.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 18cfd45..33ed1d9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 +