Skip to content

The agent that grows with you

fix(ci): generate the bootstrap installer icons before cargo test

ethernet145e4213f197
diff --git a/.github/workflows/rust-tests.yml b/.github/workflows/rust-tests.yml
index f211530fd9f..3cdf50f77a3 100644
--- a/.github/workflows/rust-tests.yml
+++ b/.github/workflows/rust-tests.yml
@@ -38,6 +38,18 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ # tauri::generate_context! embeds the app icons, which are generated,
+ # not committed.
+ - uses: ./.github/actions/setup-pm
+ with:
+ toolchain: all
+ cache-python: true
+ prune-python-cache: true
+
+ - name: Generate icons
+ working-directory: .
+ run: node scripts/generate-icons.mjs
+
# Tauri links against the system webkit2gtk on Linux, so the crate does
# not compile without these even for `cargo test --lib`.
- name: Install Tauri system dependencies