feat: Specify caching for OFREP in server providers #38
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: OpenAPI spec validation action | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run OpenAPI spec validation | |
run: | | |
docker run --rm -v $PWD:/spec redocly/cli lint ./service/openapi.yaml | |
echo "{exit_code}={$?}" >> $GITHUB_STATE |