Install Wayland protocols
Some checks failed
CI / Clippy (push) Failing after 2m2s

This commit is contained in:
Michael Bradley 2025-03-13 12:40:44 -04:00
parent cc965e7c0a
commit 942d197c05
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8

View file

@ -4,18 +4,18 @@ on: [push]
name: CI name: CI
jobs: jobs:
formatting: # formatting:
name: Formatting # name: Formatting
runs-on: ubuntu-22.04 # runs-on: ubuntu-22.04
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v4 # uses: actions/checkout@v4
- name: Set up Rust # - name: Set up Rust
uses: https://github.com/dtolnay/rust-toolchain@nightly # uses: https://github.com/dtolnay/rust-toolchain@nightly
with: # with:
components: rustfmt # components: rustfmt
- name: Check Rust formatting # - name: Check Rust formatting
run: cargo fmt --all -- --check # run: cargo fmt --all -- --check
clippy: clippy:
name: Clippy name: Clippy
@ -27,16 +27,20 @@ jobs:
uses: https://github.com/dtolnay/rust-toolchain@nightly uses: https://github.com/dtolnay/rust-toolchain@nightly
with: with:
components: clippy components: clippy
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install wayland-protocols
- name: Run Clippy - name: Run Clippy
run: cargo clippy -- -D warnings run: cargo clippy -- -D warnings
build: # build:
name: Build # name: Build
runs-on: ubuntu-22.04 # runs-on: ubuntu-22.04
steps: # steps:
- name: Checkout the code # - name: Checkout the code
uses: actions/checkout@v4 # uses: actions/checkout@v4
- name: Set up Rust # - name: Set up Rust
uses: https://github.com/dtolnay/rust-toolchain@nightly # uses: https://github.com/dtolnay/rust-toolchain@nightly
- name: Build project # - name: Build project
run: cargo build # run: cargo build