Merge pull request #367 from snyk/docs/automatic-api-docs-update #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test API Docs Generator | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'tools/api-docs-generator/**' | |
- '.github/workflows/test-generator.yml' | |
jobs: | |
test: | |
name: test-api-docs-generator | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
cache-dependency-path: | | |
tools/api-docs-generator/go.sum | |
- name: test | |
working-directory: ./tools/api-docs-generator | |
run: make test |