Merge pull request #654 from ayushkhandelwal317/master #1562
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
on: | |
- push | |
- pull_request | |
name: CI | |
jobs: | |
spectralChecks: | |
name: Spectral checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test this action against an incorrect file. | |
id: expect-failure | |
continue-on-error: true | |
uses: ./ | |
with: | |
file_glob: ./fixtures/*.yml | |
spectral_ruleset: .spectral.json | |
- if: ${{ failure() }} | |
run: exit 0 |