From 9a0cd530b83acdd9f71536f97376f8db84e429a8 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 27 Aug 2026 06:40:00 -0400 Subject: [PATCH] ci: fix bug around Rust version pinning in BSD test script (#2222) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/ci.yml | 2 +- scripts/ci/bsd_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8917a403..e7078dca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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. diff --git a/scripts/ci/bsd_tests.sh b/scripts/ci/bsd_tests.sh index eb726e72..b1608fa4 100644 --- a/scripts/ci/bsd_tests.sh +++ b/scripts/ci/bsd_tests.sh @@ -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."