mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Try again
This commit is contained in:
20
.github/workflows/ci-rust.yml
vendored
20
.github/workflows/ci-rust.yml
vendored
@@ -16,9 +16,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
|
||||||
sparse-checkout: 'src-tauri'
|
|
||||||
sparse-checkout-cone-mode: false
|
|
||||||
- run: |
|
- run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libwebkit2gtk-4.1-dev
|
sudo apt-get install -y libwebkit2gtk-4.1-dev
|
||||||
@@ -28,7 +25,24 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly # required for `cargo udeps`
|
toolchain: nightly # required for `cargo udeps`
|
||||||
override: true
|
override: true
|
||||||
|
- name: Set up cargo cache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
continue-on-error: false
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/bin/
|
||||||
|
~/.cargo/registry/index/
|
||||||
|
~/.cargo/registry/cache/
|
||||||
|
~/.cargo/git/db/
|
||||||
|
target/
|
||||||
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
restore-keys: ${{ runner.os }}-cargo-
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: cargo check
|
run: cargo check
|
||||||
|
- run: cargo install --locked cargo-udeps || true
|
||||||
|
- name: Check
|
||||||
|
run: |
|
||||||
|
cargo udeps
|
||||||
|
rm -rf ~/.cargo/advisory-db
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
|
|||||||
Reference in New Issue
Block a user