chore(deps): bump rust-lang/crates-io-auth-action from 1.0.4 to 1.0.5 #178
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: fmt and clippy | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| actions: write | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: archlinux:latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - name: Check formatting | |
| run: cargo fmt -- --check | |
| clippy: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: archlinux:latest | |
| strategy: | |
| matrix: | |
| features: | |
| - "--all-features" | |
| - "--no-default-features" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Build Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: ${{ matrix.features }} | |
| - name: Install wayland dependencies | |
| run: | | |
| pacman -Syu --noconfirm egl-wayland egl-gbm wayland base-devel mesa pango cairo | |
| - name: Clippy (${{ matrix.features }}) | |
| run: cargo clippy ${{ matrix.features }} -- -D warnings |