deps: bump the rust-deps group across 1 directory with 17 updates #55
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: CI | |
| on: | |
| push: | |
| branches: [main, partition, 'v*'] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| rust: [stable, nightly] | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| components: rustfmt, clippy | |
| - name: Format check | |
| run: cargo fmt --all -- --check | |
| continue-on-error: ${{ matrix.rust == 'nightly' }} | |
| - name: Clippy (full workspace) | |
| run: cargo clippy --workspace --all-features --locked -- -D warnings | |
| continue-on-error: ${{ matrix.rust == 'nightly' }} | |
| - name: Build | |
| run: cargo build --workspace --locked | |
| - name: Build with features | |
| run: cargo build --workspace --features postgres,mysql --locked | |
| - name: Test (default features) | |
| run: cargo test --workspace --locked | |
| - name: Test (no default features) | |
| run: cargo test --workspace --no-default-features --locked | |
| - name: Test (sqlite) | |
| run: cargo test --workspace --features sqlite --locked | |
| - name: Test (postgres) | |
| run: cargo test --workspace --features postgres --locked | |
| - name: Test (mysql) | |
| run: cargo test --workspace --features mysql --locked | |
| - name: Test (rocksdb) | |
| run: cargo test --workspace --features rocksdb --locked | |
| - name: Install wasm-pack | |
| uses: taiki-e/install-action@v2 | |
| with: | |
| tool: wasm-pack | |
| - name: WASM build | |
| run: | | |
| cd packages/aegis-browser/rust | |
| wasm-pack build --target web | |
| - name: WASM test (Chrome) | |
| if: matrix.rust == 'stable' | |
| shell: bash | |
| run: | | |
| cd crates/aegis-core | |
| wasm-pack test --chrome --headless -- --no-default-features --features wasm || true | |
| - name: WASM test (Firefox) | |
| if: matrix.rust == 'stable' | |
| shell: bash | |
| run: | | |
| cd crates/aegis-core | |
| wasm-pack test --firefox --headless -- --no-default-features --features wasm || echo "Firefox not available, skipping" | |
| - name: Security audit | |
| shell: bash | |
| run: | | |
| cargo install cargo-audit --locked 2>/dev/null || true | |
| cargo audit 2>&1 | head -50 || true | |
| - name: Dependency deny | |
| shell: bash | |
| run: | | |
| cargo install cargo-deny --locked 2>/dev/null || true | |
| cargo deny check 2>&1 | head -50 || true |