Skip to content

Commit

Permalink
ci: add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelohdez committed Feb 22, 2024
1 parent cc94633 commit 14947ec
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Rust

on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]

env:
CARGO_TERM_COLOR: always
Expand All @@ -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

0 comments on commit 14947ec

Please sign in to comment.