♻️ 迁移 docker compose 并修复 runner 升级版本识别
Ubuntu System Information / show-system-info (push) Successful in 1s

This commit is contained in:
csh
2026-05-07 15:02:38 +08:00
parent 9d4c4a1f73
commit 34480c16e2
7 changed files with 75 additions and 63 deletions
+12
View File
@@ -55,6 +55,17 @@ EOF
"pick_latest_version should return the highest semantic version"
}
test_extract_version_number_accepts_v_prefix() {
local actual
actual=$(extract_version_number <<'EOF'
act_runner version v0.6.1
EOF
)
assert_eq "0.6.1" "${actual}" \
"extract_version_number should accept version output with a leading v"
}
fake_latest_version() {
echo "0.6.2"
}
@@ -81,6 +92,7 @@ test_resolve_latest_version_or_fallback_uses_fallback() {
test_extract_versions_from_listing
test_pick_latest_version
test_extract_version_number_accepts_v_prefix
test_resolve_latest_version_or_fallback_prefers_latest
test_resolve_latest_version_or_fallback_uses_fallback