diff options
Diffstat (limited to '.github/ci')
| -rwxr-xr-x | .github/ci/crlf.sh | 2 | ||||
| -rwxr-xr-x | .github/ci/rustfmt.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/ci/crlf.sh b/.github/ci/crlf.sh index ede17c861..69838ce88 100755 --- a/.github/ci/crlf.sh +++ b/.github/ci/crlf.sh | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | set -euo pipefail | 5 | set -euo pipefail |
| 6 | 6 | ||
| 7 | FILES_WITH_CRLF=$(find ! -path "./.git/*" -not -type d | xargs -0 file -N | (grep " CRLF " || true)) | 7 | FILES_WITH_CRLF=$(find ! -path "./.git/*" -not -type d | xargs file -N | (grep " CRLF " || true)) |
| 8 | 8 | ||
| 9 | if [ -z "$FILES_WITH_CRLF" ]; then | 9 | if [ -z "$FILES_WITH_CRLF" ]; then |
| 10 | echo -e "No files with CRLF endings found." | 10 | echo -e "No files with CRLF endings found." |
diff --git a/.github/ci/rustfmt.sh b/.github/ci/rustfmt.sh index 0080f0db8..369239cfe 100755 --- a/.github/ci/rustfmt.sh +++ b/.github/ci/rustfmt.sh | |||
| @@ -9,4 +9,4 @@ export CARGO_HOME=/ci/cache/cargo | |||
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | mv rust-toolchain-nightly.toml rust-toolchain.toml | 10 | mv rust-toolchain-nightly.toml rust-toolchain.toml |
| 11 | 11 | ||
| 12 | find . -name '*.rs' -not -path '*target*' | xargs -0 rustfmt --check --skip-children --unstable-features --edition 2021 | 12 | find . -name '*.rs' -not -path '*target*' | xargs rustfmt --check --skip-children --unstable-features --edition 2021 |
