async/await対応ともうなんか全部 #1
Workflow file for this run
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: Check OpenAPI | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/check-openapi.yaml' | |
- 'reference/agqr-radio-program-guide-api.v2.yaml' | |
- 'Resources/Views/redoc-static.html' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/check-openapi.yaml' | |
- 'reference/agqr-radio-program-guide-api.v2.yaml' | |
- 'Resources/Views/redoc-static.html' | |
jobs: | |
exists-diff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make generate-redoc | |
- name: Check exists diff | |
run: | | |
if ! git diff --quiet; then | |
exit 1 | |
fi | |
# TODO: 後で直す | |
# lint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - run: make lint-openapi |