IronCoreLabs / recrypt-rs

A set of cryptographic primitives for building a multi-hop Proxy Re-encryption scheme, known as Transform Encryption.
https://crates.io/crates/recrypt
GNU Affero General Public License v3.0
144 stars 23 forks source link

Fail fast if rustfmt errors #121

Closed cjyar closed 4 years ago

cjyar commented 4 years ago

Testing CI behavior. Rustfmt runs as a separate job, parallel to the other ones. If it fails, does it immediately cancel the whole build? Does it email immediately?

I'll delete this branch and PR once we know the answers.

cjyar commented 4 years ago

By default, all jobs in a workflow run parallel. If one job fails, the workflow continues to run other independent jobs. The user will not receive a failure email until the last job in the workflow has finished.

This change adds an action to the end of the rustfmt job that cancels the entire workflow if that job fails.