diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7c4885e..aea351e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,8 +7,8 @@ jobs: name: Spectral runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v1 - name: Install - run: curl -L "https://get.spectralops.io/latest/x/sh?dsn=$SPECTRAL_DSN" | preflight run + run: sudo su && curl -L "https://app.spectralops.io/latest/sh?dsn=$SPECTRAL_DSN" | sh - name: Scan - run: $HOME/.spectral/spectral scan --ok \ No newline at end of file + run: spectral scan diff --git a/test b/test new file mode 100644 index 0000000..357bfd8 --- /dev/null +++ b/test @@ -0,0 +1,2 @@ +test +123