chore(deps): update dependency lucide-react to v1.33.0 #1722
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: Rust Workflow | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Check formatting | |
| run: cargo fmt --all --check | |
| - name: Clippy | |
| run: cargo clippy --workspace -- -D warnings | |
| # cargo has no workspace-inheritance mechanism for [package.metadata.*] | |
| # tables, so a new binary crate won't automatically pick up binstall | |
| # config (see .github/workflows/binary-release.yaml) — catch the | |
| # omission here instead of silently shipping a crate cargo binstall | |
| # can't find. | |
| - name: Check binstall metadata coverage | |
| run: | | |
| missing=$(cargo metadata --no-deps --format-version 1 | jq -r ' | |
| .packages[] | |
| | select(.name != "enwiro-sdk") | |
| | select(any(.targets[]; any(.kind[]; . == "bin"))) | |
| | select(.metadata.binstall == null) | |
| | .name | |
| ') | |
| if [ -n "$missing" ]; then | |
| echo "Crates with a [[bin]] target but no [package.metadata.binstall]:" | |
| echo "$missing" | |
| exit 1 | |
| fi | |
| build_and_test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| cargo_args: "--workspace" | |
| - os: macos-latest | |
| cargo_args: "-p enwiro -p enwiro-cookbook-git -p enwiro-cookbook-github -p enwiro-bridge-rofi" | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable | |
| - uses: taiki-e/install-action@f4f7c6f1cc934d4ea1ecdd859ece8eef80a7d6ea # just | |
| - name: Build | |
| run: cargo build ${{ matrix.cargo_args }} | |
| - name: Test | |
| run: cargo test ${{ matrix.cargo_args }} | |
| # The container-wrap isolation path (issue #540) is off by default, so the main | |
| # workspace build never compiles it. Lint + test it explicitly here. | |
| container_wrap: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable | |
| with: | |
| components: clippy | |
| - name: Clippy (container-wrap) | |
| run: cargo clippy -p enwiro-daemon --all-targets --features container-wrap -- -D warnings | |
| - name: Test (container-wrap) | |
| run: cargo test -p enwiro-daemon --features container-wrap | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 | |
| with: | |
| package_json_file: docs/package.json | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| cache-dependency-path: docs/pnpm-lock.yaml | |
| - run: pnpm install --frozen-lockfile | |
| working-directory: docs | |
| - run: pnpm build | |
| working-directory: docs | |
| frontend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install (frozen lockfile) | |
| run: pnpm install --frozen-lockfile | |
| - name: Biome check (format + lint, repo-wide) | |
| run: pnpm exec biome check | |
| - name: Audit dependencies | |
| run: pnpm audit --audit-level high | |
| - name: Type-check (tsc) | |
| run: pnpm --filter ./enwiro-gui/web exec tsc -b | |
| - name: Build frontend | |
| run: pnpm --filter ./enwiro-gui/web build |