#!/usr/bin/env bash # coding=utf-8 set -xeuo pipefail find scripts -type f -name '*.sh' -exec shellcheck '{}' ';' cargo check --locked --profile test cargo test --locked cargo clippy -- --deny warnings # treat warnings as errors cargo fmt && git diff --exit-code