diff options
Diffstat (limited to '.github/ci/janitor.sh')
| -rwxr-xr-x | .github/ci/janitor.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/ci/janitor.sh b/.github/ci/janitor.sh new file mode 100755 index 000000000..58ecb8475 --- /dev/null +++ b/.github/ci/janitor.sh | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | ## on push branch~=gh-readonly-queue/main/.* | ||
| 3 | ## on pull_request | ||
| 4 | |||
| 5 | set -euo pipefail | ||
| 6 | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | ||
| 8 | export CARGO_HOME=/ci/cache/cargo | ||
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | ||
| 10 | export PATH=$CARGO_HOME/bin:$PATH | ||
| 11 | |||
| 12 | cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 2357881abb81a0a3672ff992e199963f9f63bb10 | ||
| 13 | |||
| 14 | cargo embassy-devtool check-crlf | ||
| 15 | cargo embassy-devtool check-manifest | ||
