From b6927435e58d0d127877b62c00ca1dc78a8d2522 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 9 Jun 2024 06:43:53 -0700 Subject: [PATCH] Fix Rust lint --- .github/workflows/ci-rust.yml | 2 +- .github/workflows/release.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index dd419819..6360265d 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -23,7 +23,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly # required for `cargo udeps` + toolchain: stable override: true - name: Set up cargo cache uses: actions/cache@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f3038da..4407e598 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,13 +39,14 @@ jobs: sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - name: Install dependencies run: npm ci - - name: Run lint + - name: Lint and Test (JS) run: | npm run lint - cargo check --all - - name: Run tests - run: | npm test + - name: Lint and Test (Rust) + working-directory: src-tauri + run: | + cargo check --all cargo test --all - uses: tauri-apps/tauri-action@v0 env: