This repository was archived by the owner on Sep 6, 2025. It is now read-only.
chore: simplify MSI build process by removing CargoPackageVersion var… #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: clippy, rustfmt | |
- name: Cache cargo | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Format check | |
run: cargo fmt --all -- --check | |
- name: Build (workspace + GUI) | |
run: cargo build --workspace --locked --features ui | |
- name: Lint (clippy) | |
run: cargo clippy --workspace --all-targets --features ui -- -D warnings | |
- name: Test | |
run: cargo test --workspace --locked |