ci(release): build setup-ui via mise exec and skip the in-build UI step #855
Workflow file for this run
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: Lint | |
| on: [push, pull_request] | |
| jobs: | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache APT packages | |
| uses: awalsh128/cache-apt-pkgs-action@v1.6.1 | |
| with: | |
| packages: libgtk-3-dev libappindicator3-dev libxdo-dev | |
| version: 1.0 | |
| - name: Cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Set up Node and pnpm | |
| uses: jdx/mise-action@v2 | |
| - name: Run clippy | |
| run: cargo clippy --all-features --all-targets -- -D warnings | |
| rustfmt: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Run cargo fmt | |
| run: cargo fmt --all -- --check |