Skip to content

Commit

Permalink
Add linting to GitHub CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
valderman committed Sep 9, 2024
1 parent 1fccc96 commit 4cc24eb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run unit tests
on: [push]
jobs:
run-unit-tests:
unit-tests:
runs-on: self-hosted
steps:
- run: curl https://sh.rustup.rs -sSf | sh -s -- -y
Expand All @@ -11,3 +11,13 @@ jobs:
. "$HOME/.cargo/env"
cargo test
dbus-run-session cargo test --features=install,dbus-tests
clippy:
runs-on: self-hosted
steps:
- run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Check out repo
uses: actions/checkout@v4
- run: |
. "$HOME/.cargo/env"
cargo clippy
cargo clippy --features=install,dbus-tests

0 comments on commit 4cc24eb

Please sign in to comment.