Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ on:
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust.yml'
# crates/types/src/dag_export.rs has a #[cfg(test)] cargo test (issue
# #187) that reads tools/dag-viewer/node-style.js's own source and
# fails if its KIND_CATEGORY table drifts from the real DagNode.kind
# strings — a JS-only edit to that file needs this workflow to
# actually run `cargo test` for that guard to catch drift on the PR
# that introduces it, instead of surfacing later as a confusing
# failure on an unrelated Rust change.
- 'tools/dag-viewer/**'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [ main ]
Expand All @@ -16,6 +24,14 @@ on:
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust.yml'
# crates/types/src/dag_export.rs has a #[cfg(test)] cargo test (issue
# #187) that reads tools/dag-viewer/node-style.js's own source and
# fails if its KIND_CATEGORY table drifts from the real DagNode.kind
# strings — a JS-only edit to that file needs this workflow to
# actually run `cargo test` for that guard to catch drift on the PR
# that introduces it, instead of surfacing later as a confusing
# failure on an unrelated Rust change.
- 'tools/dag-viewer/**'
workflow_dispatch:

concurrency:
Expand Down
Loading
Loading