mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-21 08:11:24 +02: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
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly # required for `cargo udeps`
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
uses: actions/cache@v3
|
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
|
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run lint
|
- name: Lint and Test (JS)
|
||||||
run: |
|
run: |
|
||||||
npm run lint
|
npm run lint
|
||||||
cargo check --all
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
npm test
|
npm test
|
||||||
|
- name: Lint and Test (Rust)
|
||||||
|
working-directory: src-tauri
|
||||||
|
run: |
|
||||||
|
cargo check --all
|
||||||
cargo test --all
|
cargo test --all
|
||||||
- uses: tauri-apps/tauri-action@v0
|
- uses: tauri-apps/tauri-action@v0
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user