Set up workspace, add formatting CI.

This commit is contained in:
2026-02-21 19:16:50 -05:00
parent d5671a5590
commit 8fd0bb48de
4 changed files with 28 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
name: Build
name: Check
on:
push:
@@ -61,7 +61,25 @@ jobs:
- name: Lint libclide
run: |
cargo clippy --manifest-path libclide/Cargo.toml -- -D warnings
cargo clippy -p libclide -- -D warnings
- name: Lint clide
run: |
cargo clippy -- -D warnings
Format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Qt
uses: ./.github/actions/setup-qt
with:
qt-version: ${{ env.QT_VERSION }}
- name: Format libclide
run: |
cargo fmt -p libclide --verbose -- --check
- name: Format clide
run: |
cargo fmt --verbose -- --check