diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 22c3c31..125b0fa 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -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 @@ -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