feat: use ordr preset render settings #906
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: Check project | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| jobs: | |
| clippy: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| include: | |
| - kind: default-features | |
| features: default | |
| - kind: full-features | |
| features: full | |
| steps: | |
| - name: Checkout project | |
| uses: actions/checkout@v3 | |
| - name: Install stable toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| # See failed run <https://github.com/MaxOhn/Bathbot/actions/runs/14284178259/job/40037258476?pr=952> | |
| - name: "Install fontconfig" | |
| run: sudo apt-get -y install libfontconfig1-dev jq | |
| - name: Cache dependencies | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Run clippy | |
| env: | |
| RUSTFLAGS: -D warnings | |
| run: cargo clippy --workspace --features ${{ matrix.features }} --all-targets --no-deps | |
| rustfmt: | |
| name: Format | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v3 | |
| - name: Install nightly toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| toolchain: nightly | |
| - name: Check code formatting | |
| run: cargo fmt --all -- --check |