Repository navigation
Validate model ID type and length from API response #1
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: Lint, test and analyse | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| linting: | |
| runs-on: ubuntu-latest | |
| name: Linting | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: make build | |
| - name: Setup WordPress | |
| run: make setup | |
| - name: Run linting | |
| run: make test-lint | |
| analysis: | |
| runs-on: ubuntu-latest | |
| name: Static Analysis | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: make build | |
| - name: Setup WordPress | |
| run: make setup | |
| - name: Run PHPStan | |
| run: make test-phpstan | |
| mess-detect: | |
| runs-on: ubuntu-latest | |
| name: Mess Detector | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: make build | |
| - name: Setup WordPress | |
| run: make setup | |
| - name: Run PHPMD | |
| run: make test-phpmd | |
| doc-check: | |
| runs-on: ubuntu-latest | |
| name: Documentation Check | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: make build | |
| - name: Setup WordPress | |
| run: make setup | |
| - name: Run doc check | |
| run: make test-docs |