mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
extension_ci: Improve job orchestration (#49407)
This fixes an issue where some changes that should trigger more checks would go unnoticed. Release Notes: - N/A
This commit is contained in:
parent
d900b2b656
commit
3b438222ef
2 changed files with 3 additions and 2 deletions
2
.github/workflows/extension_tests.yml
vendored
2
.github/workflows/extension_tests.yml
vendored
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
}
|
||||
|
||||
check_pattern "check_rust" '^(Cargo.lock|Cargo.toml|.*\.rs)$' -qP
|
||||
check_pattern "check_extension" '^.*\.scm$' -qP
|
||||
check_pattern "check_extension" '^(extension\.toml|.*\.scm)$' -qP
|
||||
outputs:
|
||||
check_rust: ${{ steps.filter.outputs.check_rust }}
|
||||
check_extension: ${{ steps.filter.outputs.check_extension }}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ const EXTENSION_RUST_TARGET: &str = "wasm32-wasip2";
|
|||
// This is used by various extensions repos in the zed-extensions org to run automated tests.
|
||||
pub(crate) fn extension_tests() -> Workflow {
|
||||
let should_check_rust = PathCondition::new("check_rust", r"^(Cargo.lock|Cargo.toml|.*\.rs)$");
|
||||
let should_check_extension = PathCondition::new("check_extension", r"^.*\.scm$");
|
||||
let should_check_extension =
|
||||
PathCondition::new("check_extension", r"^(extension\.toml|.*\.scm)$");
|
||||
|
||||
let orchestrate =
|
||||
orchestrate_without_package_filter(&[&should_check_rust, &should_check_extension]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue