stoplightio / spectral-action

GitHub Action wrapper for Spectral - a JSON/YAML/OpenAPI/AsyncAPI/etc linter with custom rule support.
https://stoplight.io/open-source/spectral
Apache License 2.0
89 stars 46 forks source link

Recent builds using action failing trying to build docker image #634

Closed andreas-zapantis closed 2 years ago

andreas-zapantis commented 2 years ago

Today we started getting failures in our github actions builds using this action. Failure encountered during the Build stoplightio/spectral-action@v0.8.1 step with the following message

Step 12/19 : RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash
   ---> Using cache
   ---> 5dbcc9210831
  Step 13/19 : RUN ./bin/node-prune
   ---> Running in 1629fd948d2e
  /bin/sh: 1: ./bin/node-prune: not found
  The command '/bin/sh -c ./bin/node-prune' returned a non-zero code: 127

Seems like https://install.goreleaser.com/github.com/tj/node-prune.sh is not accessible anymore.

ckoegel commented 2 years ago

Also seeing this on 0.7.3

denyszrazhevskiy commented 2 years ago

Seems like https://install.goreleaser.com/github.com/tj/node-prune.sh is not accessible anymore.

The problem is this

machisuke commented 2 years ago

Maybe https://github.com/stoplightio/spectral-action/pull/633 would fix this issue.

P0lip commented 2 years ago

Should be fixed. LMK if you still face the issue