From 2158fbe0e65e67effadf6a69d4114d5044b43432 Mon Sep 17 00:00:00 2001 From: sksat Date: Tue, 5 Dec 2023 13:49:30 +0900 Subject: [PATCH 1/2] run Rust CI on all workspace crates --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e1bcacc7b..7499eb77b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -37,10 +37,10 @@ jobs: uses: sksat/action-clippy@v0.3.0 with: reporter: ${{ github.event_name == 'pull_request' && 'github-pr-review' || 'github-check' }} - clippy_flags: --all-features + clippy_flags: --workspace --all-features - name: format run: cargo fmt --all -- --check - name: unit test - run: cargo test + run: cargo test --workspace From 4bdf4b2be8671cd1a7071bc6f2e77e82a4722f06 Mon Sep 17 00:00:00 2001 From: sksat Date: Tue, 5 Dec 2023 14:07:53 +0900 Subject: [PATCH 2/2] run C2A setup before clippy to build example users --- .github/workflows/rust.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7499eb77b..e43dd81df 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,6 +33,9 @@ jobs: - name: cache dependencies uses: Swatinem/rust-cache@v2.7.1 + - name: setup c2a-core + run: ./setup.sh + - name: reviewdog / clippy uses: sksat/action-clippy@v0.3.0 with: