From 14947ec6c2d5349434fe14d6ffea0175860df6e2 Mon Sep 17 00:00:00 2001 From: Marcelo Hernandez <76508651+marcelohdez@users.noreply.github.com> Date: Thu, 22 Feb 2024 05:37:06 -0500 Subject: [PATCH] ci: add dependencies --- .github/workflows/rust.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f057664..ef958ab 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,9 @@ name: Rust on: push: - branches: [ "master" ] + branches: ["master"] pull_request: - branches: [ "master" ] + branches: ["master"] env: CARGO_TERM_COLOR: always @@ -14,13 +14,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Lint - uses: wearerequired/lint-action@v2 - with: - clippy: true - rustfmt: true - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose + - uses: actions/checkout@v3 + - name: Dependencies + run: | + sudo apt-get update -y + sudo apt-get install -y libxkbcommon-dev libwayland-dev + - name: Lint + uses: wearerequired/lint-action@v2 + with: + clippy: true + rustfmt: true + - name: Run tests + run: cargo test --verbose