From 162dcfafad75fcb3c73218715bf8d61cdf568237 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 11 Aug 2026 12:30:39 -0400 Subject: [PATCH 1/2] Add two Makefile targets for typos Signed-off-by: mulhern --- Makefile | 8 ++++++++ _typos.toml | 1 + 2 files changed, 9 insertions(+) create mode 100644 _typos.toml diff --git a/Makefile b/Makefile index e17da0b..fa248f9 100644 --- a/Makefile +++ b/Makefile @@ -27,3 +27,11 @@ yamllint: .PHONY: shellcheck shellcheck: find . -name '*.sh' | xargs shellcheck --severity=warning + +.PHONY: check-typos +check-typos: + typos + +.PHONY: fix-typos +fix-typos: + typos -w diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..f37faff --- /dev/null +++ b/_typos.toml @@ -0,0 +1 @@ +default.extend-ignore-re = ["<.*/>"] # ignore D-Bus introspection data From 99e80ae0b77b22a4636f23213f758ad2e23dab2f Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 11 Aug 2026 12:31:46 -0400 Subject: [PATCH 2/2] Run typos-check target in CI Signed-off-by: mulhern --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97df729..d02a39a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,3 +56,21 @@ jobs: run: pip install --user pyright - name: Run test run: ${{ matrix.task }} + + rust_dependent_checks: + runs-on: ubuntu-latest + container: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT + steps: + - uses: actions/checkout@v6 + with: + persist-credentials: false + - name: Install dependencies + run: dnf install -y clang curl make + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + components: cargo + - uses: baptiste0928/cargo-install@v3 + with: + crate: typos-cli + - name: Run test + run: make -f Makefile check-typos