Skip to content

Merge pull request #3 from guylev008/master #61

Merge pull request #3 from guylev008/master

Merge pull request #3 from guylev008/master #61

Workflow file for this run

name: SpectralOps
on: [push]
env:
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }}
jobs:
build:
name: Spectral
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Preflight
uses: SpectralOps/setup-preflight-action@v1
with:
preflight-version: "1.1.4"
- name: Spectral Install
run: curl -L "https://get.spectralops.io/latest/x/sh?dsn=$SPECTRAL_DSN" | preflight run https://sigs.spectralops.io/spectral
- name: Spectral Scan
run: $HOME/.spectral/spectral scan