From 714a96120a205e43b1f912d4c2b6ad8d382d8b99 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sat, 8 Jun 2024 20:51:03 -0700 Subject: [PATCH] Rust CI to release --- .github/workflows/ci-rust.yml | 2 +- .github/workflows/release.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index 6189e5b8..06ac097e 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -38,7 +38,7 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Lint - run: cargo check + run: cargo check --all - run: cargo install --locked cargo-udeps || true - name: Check run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab489cb1..2f3038da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,13 @@ jobs: - name: Install dependencies run: npm ci - name: Run lint - run: npm run lint + run: | + npm run lint + cargo check --all - name: Run tests - run: npm test + run: | + npm test + cargo test --all - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}