mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
Fix Rust lint
This commit is contained in:
2
.github/workflows/ci-rust.yml
vendored
2
.github/workflows/ci-rust.yml
vendored
@@ -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
|
||||
|
||||
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user