ci: fix bug around Rust version pinning in BSD test script (#2222)

Test actually didn't run and I didn't realize 🤦; CI didn't check if the scripts dir was updated. I've fixed both the script and the skip check.
This commit is contained in:
Clement Tsang
2026-08-27 06:40:00 -04:00
committed by GitHub
parent d08c2b9686
commit 9a0cd530b8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
uses: ClementTsang/skip-duplicate-actions@41b0a75f656d455934ffa6a46b779d8d996ac47c
with:
skip_after_successful_duplicate: "true"
paths: '[".cargo/**", ".github/actions/**", ".github/ci/**", ".github/workflows/ci.yml", "sample_configs/**", "src/**", "tests/**", "build.rs", "Cargo.lock", "Cargo.toml", "clippy.toml", "rustfmt.toml", "Cross.toml"]'
paths: '[".cargo/**", ".github/actions/**", ".github/ci/**", ".github/workflows/ci.yml", "sample_configs/**", "scripts/ci/**", "src/**", "tests/**", "build.rs", "Cargo.lock", "Cargo.toml", "clippy.toml", "rustfmt.toml", "Cross.toml"]'
do_not_skip: '["workflow_dispatch", "push"]'
# Runs rustfmt + tests + clippy on the main supported platforms.
+1 -1
View File
@@ -6,7 +6,7 @@ set -eu
BSD_TARGET="${1:-}"
SCRIPT_DIR=$(cd -- "$(dirname -- "$0")" > /dev/null && pwd)
RUST_VERSION=$(cat "$SCRIPT_DIR/.github/ci/rust_version.txt")
RUST_VERSION=$(cat "$SCRIPT_DIR/../../.github/ci/rust_version.txt")
if [ -z "$BSD_TARGET" ]; then
echo "Error: BSD target must be specified."