Merge pull request #42 from package-url/699-update-schema-filenames-a… #6
This file contains hidden or 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: Check and generate PURL Type Docs and Index | |
| on: | |
| push: | |
| paths: | |
| - "schemes/*.json" | |
| - "schemas/*.json" | |
| - "etc/" | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| # All permissions should be specified at the job level | |
| permissions: { } | |
| jobs: | |
| validate-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: make conf | |
| - name: Validate code and data formats | |
| run: make check | |