Merge pull request #312 from snyk/docs/automatic-api-docs-update #55
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 |