Skip to content

Commit

Permalink
Only run cargo-test GH Action when wasm-lib is updated (#1718)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
franknoirot authored Mar 14, 2024
1 parent a2176d9 commit 13cd3e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 13cd3e1

Please sign in to comment.