Fix Rust lint

This commit is contained in:
Gregory Schier
2024-06-09 06:43:53 -07:00
parent a576ba7a23
commit b6927435e5
2 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -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: