diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7b40471e..3538a458 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -53,6 +53,7 @@ jobs: if: steps.ver.outputs.release == 'true' run: | export WX_RS_WXCONFIG="$WX_PREFIX/bin/wx-config" + rustup component add clippy >/dev/null 2>&1 || true cargo clippy -p alkane-gui --no-deps --release --bins --offline -- -D warnings - name: Set crate version to ${{ steps.ver.outputs.version }} diff --git a/.gitea/workflows/verify.yml b/.gitea/workflows/verify.yml index 7e1cf45e..a0e28191 100644 --- a/.gitea/workflows/verify.yml +++ b/.gitea/workflows/verify.yml @@ -40,7 +40,9 @@ jobs: fi - name: Clippy (our crate, warnings are errors) - run: cargo clippy -p alkane-gui --no-deps --release --bins --offline -- -D warnings + run: | + rustup component add clippy >/dev/null 2>&1 || true + cargo clippy -p alkane-gui --no-deps --release --bins --offline -- -D warnings - name: Build run: cargo build --release -p alkane-gui --offline diff --git a/ci/compute-version.sh b/ci/compute-version.sh index a833a8bf..3c0ea33b 100755 --- a/ci/compute-version.sh +++ b/ci/compute-version.sh @@ -35,9 +35,11 @@ crates/alkane-gui/src/bin/*) ui=true ;; crates/alkane-core/*|crates/alkane-discovery/*|crates/alkane-access/*|\ crates/alkane-flash/*|crates/alkane-artifacts/*|crates/alkane-cli/*|\ -crates/alkane-gui/src/scan.rs|crates/alkane-gui/src/model.rs|\ -crates/alkane-gui/src/main.rs|Cargo.toml|Cargo.lock|.gitea/*|ci/*|scripts/*|\ +crates/alkane-gui/src/*|Cargo.toml|Cargo.lock|.gitea/*|ci/*|scripts/*|\ vendor/*|thirdparty/asic-rs/*) + # Any other GUI source file (naming, scan, model, pool_prefs, restore, + # access_probe, credentials, ...) is backend logic. ui.rs/fixtures.rs/bin + # match the UI arm above first, so they still bump Z, not Y. backend=true ;; *) : ;; # docs, HANDOFF, README, thirdparty/wxwidgets tree: no bump esac