ci fix
This commit is contained in:
@@ -112,6 +112,9 @@ jobs:
|
||||
with:
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN }}
|
||||
|
||||
- name: Install protoc
|
||||
run: sudo apt-get install -y protobuf-compiler
|
||||
|
||||
- name: Cache Cargo
|
||||
uses: actions/cache@v4
|
||||
timeout-minutes: 2
|
||||
@@ -126,5 +129,8 @@ jobs:
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('client/src-tauri/Cargo.lock') }}
|
||||
restore-keys: ${{ runner.os }}-cargo-
|
||||
|
||||
- name: Create frontend dist stub (required for Tauri build)
|
||||
run: mkdir -p ../dist && touch ../dist/index.html
|
||||
|
||||
- name: Run Rust tests
|
||||
run: cargo test --lib
|
||||
|
||||
Reference in New Issue
Block a user