Skip to content
Closed
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
11 changes: 11 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,14 @@ jobs:
cargo +nightly clippy --manifest-path rule-preprocessor/Cargo.toml --all-targets --all-features -- -Dwarnings
cargo clippy --manifest-path libcc2rs/Cargo.toml --all-targets --all-features -- -Dwarnings
cargo clippy --manifest-path libcc2rs-macros/Cargo.toml --all-targets --all-features -- -Dwarnings

- name: Check Python (ruff)
uses: astral-sh/ruff-action@v3
with:
args: 'check'
src: tests/lit/lit/formats/Cpp2RustTest.py
- name: Check Python formatting (ruff)
uses: astral-sh/ruff-action@v3
with:
args: 'format --check'
src: tests/lit/lit/formats/Cpp2RustTest.py
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ add_custom_target("check-unit"
${LIT_FLAGS}
"${PROJECT_SOURCE_DIR}/tests/unit"
"${PROJECT_SOURCE_DIR}/tests/ub"
"${PROJECT_SOURCE_DIR}/tests/multi-file"
DEPENDS cpp2rust libcc2rs
USES_TERMINAL
)
Expand Down
Loading
Loading