Only run cargo-test GH Action when wasm-lib is updated (#1718)
* Only run cargo-test GH Action when wasm-lib is updated Because we don't care about src-tauri's Rust code in this action * $APPDATA !== $APPCONFIG on Linux + change the bundle identifier back * Undo that commit, wrong branch * Change approach to ignore the Tauri Rust files instead * Switch back to only check wasm-lib
This commit is contained in:
7
.github/workflows/cargo-test.yml
vendored
7
.github/workflows/cargo-test.yml
vendored
@ -3,14 +3,15 @@ on:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '**.rs'
|
||||
- src/wasm-lib/**.rs'
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- '**/rust-toolchain.toml'
|
||||
- .github/workflows/cargo-test.yml
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.rs'
|
||||
- src/wasm-lib/**.rs'
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- '**/rust-toolchain.toml'
|
||||
@ -20,7 +21,7 @@ permissions: read-all
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
name: cargo test
|
||||
name: cargo test of wasm-lib
|
||||
jobs:
|
||||
cargotest:
|
||||
name: cargo test
|
||||
|
||||
Reference in New Issue
Block a user