IntersectMBO / ouroboros-network

Specifications of network protocols and implementations of components running these protocols which support a family of Ouroboros Consesus protocols; the diffusion layer of the Cardano Node.
https://ouroboros-network.cardano.intersectmbo.org
Apache License 2.0
276 stars 86 forks source link

check-stylish: use git but not on hydra (nix) #4937

Closed coot closed 1 month ago

coot commented 1 month ago

Description

Our ./scripts/ci/check-stylish.sh script can show the diff, but only if it doesn't run through nix where repo is not cloned / checked out. Now it will also exit with non-zero exit code if the diff is non-empty.

Checklist

Quality

Maintenance