deps(deps): bump lettre from 0.11.21 to 0.11.23 #198
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 | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| workflow_call: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| compile-web: | |
| name: Compile Board Web Assets | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| rust: [stable, beta] | |
| # include: | |
| # - os: ubuntu-latest | |
| # rust: nightly | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Install cargo-binstall | |
| uses: cargo-bins/cargo-binstall@v1.19.1 | |
| - name: Install dependencies | |
| run: | | |
| cargo binstall --no-confirm trunk | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| targets: wasm32-unknown-unknown | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@main | |
| with: | |
| node-version: 24 | |
| cache: "yarn" | |
| - name: Install npm dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Cache cargo | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo-${{ matrix.rust }}- | |
| ${{ runner.os }}-cargo- | |
| - name: Cache dist | |
| id: cache-dist | |
| uses: actions/cache@v5 | |
| with: | |
| path: crates/web/dist | |
| key: ${{ runner.os }}-dist-${{ hashFiles('crates/web/Cargo.toml') }}-${{ hashFiles('crates/web/src/**') }} | |
| - name: Build project | |
| if: steps.cache-dist.outputs.cache-hit != 'true' | |
| run: trunk build --release | |
| working-directory: crates/web | |
| test: | |
| name: Test Suite | |
| needs: compile-web | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| rust: [stable, beta] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Cache cargo | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo-${{ matrix.rust }}- | |
| ${{ runner.os }}-cargo- | |
| - name: Cache dist | |
| id: cache-dist | |
| uses: actions/cache@v5 | |
| with: | |
| path: crates/web/dist | |
| key: ${{ runner.os }}-dist-${{ hashFiles('crates/web/Cargo.toml') }}-${{ hashFiles('crates/web/src/**') }} | |
| - name: Build project | |
| if: steps.cache-dist.outputs.cache-hit != 'true' | |
| run: trunk build --release | |
| working-directory: crates/web | |
| - name: Run cargo test with all features | |
| run: cargo test --all-features --verbose | |
| - name: cargo install cargo-hack | |
| uses: taiki-e/install-action@cargo-hack | |
| - name: cargo hack | |
| run: cargo hack --feature-powerset check | |
| fmt: | |
| name: Rustfmt | |
| needs: compile-web | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - name: Run cargo fmt | |
| run: cargo fmt --all -- --check | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| needs: compile-web | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Cache cargo | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo-${{ matrix.rust }}- | |
| ${{ runner.os }}-cargo- | |
| - name: Cache dist | |
| id: cache-dist | |
| uses: actions/cache@v5 | |
| with: | |
| path: crates/web/dist | |
| key: ${{ runner.os }}-dist-${{ hashFiles('crates/web/Cargo.toml') }}-${{ hashFiles('crates/web/src/**') }} | |
| - name: Build project | |
| if: steps.cache-dist.outputs.cache-hit != 'true' | |
| run: trunk build --release | |
| working-directory: crates/web | |
| - name: Run cargo clippy | |
| run: cargo clippy --all-targets --all-features | |
| docs: | |
| name: Documentation | |
| runs-on: ubuntu-latest | |
| needs: compile-web | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@nightly | |
| - name: Cache cargo | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo-${{ matrix.rust }}- | |
| ${{ runner.os }}-cargo- | |
| - name: Cache dist | |
| id: cache-dist | |
| uses: actions/cache@v5 | |
| with: | |
| path: crates/web/dist | |
| key: ${{ runner.os }}-dist-${{ hashFiles('crates/web/Cargo.toml') }}-${{ hashFiles('crates/web/src/**') }} | |
| - name: Build project | |
| if: steps.cache-dist.outputs.cache-hit != 'true' | |
| run: trunk build --release | |
| working-directory: crates/web | |
| - name: Build documentation | |
| run: cargo doc --all-features --no-deps --document-private-items | |
| env: | |
| RUSTDOCFLAGS: "-Dwarnings" | |
| unused-deps: | |
| name: Unused Dependencies | |
| runs-on: ubuntu-latest | |
| needs: compile-web | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v6 | |
| - name: Install Rust nightly toolchain | |
| uses: dtolnay/rust-toolchain@nightly | |
| - name: Cache cargo | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo-${{ matrix.rust }}- | |
| ${{ runner.os }}-cargo- | |
| - name: Cache dist | |
| id: cache-dist | |
| uses: actions/cache@v5 | |
| with: | |
| path: crates/web/dist | |
| key: ${{ runner.os }}-dist-${{ hashFiles('crates/web/Cargo.toml') }}-${{ hashFiles('crates/web/src/**') }} | |
| - name: Build project | |
| if: steps.cache-dist.outputs.cache-hit != 'true' | |
| run: trunk build --release | |
| working-directory: crates/web | |
| - name: Install cargo-udeps | |
| uses: taiki-e/install-action@cargo-udeps | |
| - name: Check for unused dependencies | |
| run: cargo +nightly udeps --all-targets --all-features |