Support hardening & engines flag (#12) #56
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: Main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
env: | |
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }} | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install and run Spectral CI | |
uses: spectralops/spectral-github-action@v3 | |
with: | |
spectral-dsn: ${{ env.SPECTRAL_DSN }} | |
spectral-args: scan --unpack --ok --engines secrets,iac |