File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 3838 - name : Install npm dependencies
3939 run : npm install
4040 - name : Fetch OAS file from Dev Branch
41- run : curl -O "https://raw.githubusercontent.com/mongodb/openapi/refs/heads/dev/openapi/.raw/v2.yaml"
41+ run : curl -o dev-oas.yaml "https://raw.githubusercontent.com/mongodb/openapi/refs/heads/dev/openapi/.raw/v2.yaml"
4242 working-directory : ${{ github.workspace }}
4343 - name : Spectral action
4444 uses : stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
5151 with :
5252 file_glob : ${{ github.workspace }}//v2.yaml
5353 spectral_ruleset : tools/spectral/ipa/ipa-spectral.yaml
54+ - name : IPA validation
55+ run : |
56+ npx spectral lint dev-oas.yaml --ruleset=${{ github.workspace }}/tools/spectral/ipa/ipa-spectral.yaml
57+
You can’t perform that action at this time.
0 commit comments