mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-23 11:05:34 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user