feat(cn-browse): Implement Indexing and Re-indexing Mechanisms for Ca… #411
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: Run Spectral on Pull Requests | |
on: | |
push: | |
paths: | |
- 'src/main/resources/swagger.api/**' | |
pull_request: | |
paths: | |
- 'src/main/resources/swagger.api/**' | |
jobs: | |
build: | |
name: Run Spectral | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v3 | |
# Run Spectral | |
- uses: stoplightio/spectral-action@latest | |
with: | |
file_glob: 'src/main/resources/swagger.api/*.yaml' |