Buckets:
| name: OpenAPI Lint | |
| on: | |
| pull_request: | |
| paths: | |
| - 'openapi.yaml' | |
| - '.spectral.yaml' | |
| - '.github/workflows/openapi-lint.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| spectral: | |
| name: Run Spectral | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install Spectral | |
| run: npm install -g @stoplight/spectral-cli@6 | |
| - name: Lint openapi.yaml | |
| run: spectral lint openapi.yaml --ruleset .spectral.yaml --fail-severity=error | |
Xet Storage Details
- Size:
- 639 Bytes
- Xet hash:
- ce76371ca50cf7121fd97e8efca5a60d89fe67bfc42cd45dd008724809bb3d77
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.