From 8b011941c41fd66a34bfe872911a0596241de6a9 Mon Sep 17 00:00:00 2001 From: Keenan Tims Date: Fri, 13 Dec 2024 18:09:16 -0800 Subject: [PATCH] CI: make a workspace --- .github/workflows/test.yaml | 6 +++--- Cargo.lock | 8 ++++++++ Cargo.toml | 4 ++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 401b04d..04acc33 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,10 +21,10 @@ jobs: toolchain: stable - name: cargo test - run: cargo test --all-features + run: cargo test --lib --all-features - name: rustfmt run: cargo fmt --all -- --check - - name: clippy - run: cargo clippy --all --all-features --tests -- -D warnings + # - name: clippy + # run: cargo clippy --lib --all-features --tests -- -D warnings diff --git a/Cargo.lock b/Cargo.lock index 6b11363..7a512e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,6 +29,14 @@ version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" +[[package]] +name = "aoc-autobuild" +version = "0.3.0" +dependencies = [ + "aoc-runner", + "aoc2024", +] + [[package]] name = "aoc-runner" version = "0.3.0" diff --git a/Cargo.toml b/Cargo.toml index b544726..7f7d80d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,3 +18,7 @@ thread_local = "1.1.8" [profile.release] lto = true + +[workspace] +members = [ ".", "utils/grid", "target/aoc/aoc-autobuild" ] +default-members = [ ".", "utils/*" ] \ No newline at end of file