diff options
| author | Vega Deftwing <[email protected]> | 2024-04-11 19:47:31 +0000 |
|---|---|---|
| committer | Vega Deftwing <[email protected]> | 2024-04-11 19:47:31 +0000 |
| commit | 80fadada7056516aa566033929a305b36f6b9be4 (patch) | |
| tree | 9debcba68ea65a5cd4a85bde68b82c65bd42c81f /.github | |
| parent | 9053b6b5b3a09e48ed5e2476a5f712c9796828d5 (diff) | |
.sh whitespace and shellcheck fixes
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/ci/build.sh | 2 | ||||
| -rwxr-xr-x | .github/ci/crlf.sh | 2 | ||||
| -rwxr-xr-x | .github/ci/rustfmt.sh | 2 | ||||
| -rwxr-xr-x | .github/ci/test.sh | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/.github/ci/build.sh b/.github/ci/build.sh index 77d2b3cab..68a7c0c34 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh | |||
| @@ -7,7 +7,7 @@ set -euo pipefail | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | 7 | export RUSTUP_HOME=/ci/cache/rustup |
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | if [ -f /ci/secrets/teleprobe-token.txt ]; then | 10 | if [ -f /ci/secrets/teleprobe-token.txt ]; then |
| 11 | echo Got teleprobe token! | 11 | echo Got teleprobe token! |
| 12 | export TELEPROBE_HOST=https://teleprobe.embassy.dev | 12 | export TELEPROBE_HOST=https://teleprobe.embassy.dev |
| 13 | export TELEPROBE_TOKEN=$(cat /ci/secrets/teleprobe-token.txt) | 13 | export TELEPROBE_TOKEN=$(cat /ci/secrets/teleprobe-token.txt) |
diff --git a/.github/ci/crlf.sh b/.github/ci/crlf.sh index 69838ce88..ede17c861 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 file -N | (grep " CRLF " || true)) | 7 | FILES_WITH_CRLF=$(find ! -path "./.git/*" -not -type d | xargs -0 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 369239cfe..0080f0db8 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 rustfmt --check --skip-children --unstable-features --edition 2021 | 12 | find . -name '*.rs' -not -path '*target*' | xargs -0 rustfmt --check --skip-children --unstable-features --edition 2021 |
diff --git a/.github/ci/test.sh b/.github/ci/test.sh index 8a58939f6..6cb3a4bff 100755 --- a/.github/ci/test.sh +++ b/.github/ci/test.sh | |||
| @@ -8,9 +8,9 @@ export RUSTUP_HOME=/ci/cache/rustup | |||
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | 10 | ||
| 11 | cargo test --manifest-path ./embassy-sync/Cargo.toml | 11 | cargo test --manifest-path ./embassy-sync/Cargo.toml |
| 12 | cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml | 12 | cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml |
| 13 | cargo test --manifest-path ./embassy-hal-internal/Cargo.toml | 13 | cargo test --manifest-path ./embassy-hal-internal/Cargo.toml |
| 14 | cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue,mock-driver | 14 | cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue,mock-driver |
| 15 | cargo test --manifest-path ./embassy-time-driver/Cargo.toml | 15 | cargo test --manifest-path ./embassy-time-driver/Cargo.toml |
| 16 | 16 | ||
