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