From 2a2e78b259d89ff168d19f60e0014da57ed2a284 Mon Sep 17 00:00:00 2001 From: skylartaylor Date: Fri, 16 Oct 2026 04:18:32 +0200 Subject: [PATCH] ci(installer): test shared generator across desktop platforms (INSTALLER-UI) --- .github/workflows/installer.yml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/installer.yml diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml new file mode 100644 index 000000000..45fc26dee --- /dev/null +++ b/.github/workflows/installer.yml @@ -0,0 +1,37 @@ +name: Shared installer + +on: + push: + branches: [main] + paths: ["crates/installer/**", "Cargo.toml", "Cargo.lock", ".github/workflows/installer.yml"] + pull_request: + paths: ["crates/installer/**", "Cargo.toml", "Cargo.lock", ".github/workflows/installer.yml"] + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: installer-${{ github.ref }} + cancel-in-progress: true + +jobs: + installer: + name: Installer (${{ matrix.os }}) + timeout-minutes: 20 + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt, clippy + - uses: Swatinem/rust-cache@v2 + with: + key: craft-installer + - run: cargo fmt --all -- --check + - run: cargo clippy -p craft-installer --all-targets --locked -- -D warnings + - run: cargo test -p craft-installer --locked