From f233d727724b0f08e5c5b082e86ce0c9476aa265 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 11 Aug 2026 21:58:44 -0400 Subject: [PATCH 1/2] Add two Makefile targets for typos Signed-off-by: mulhern --- Makefile | 8 ++++++++ _typos.toml | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 _typos.toml diff --git a/Makefile b/Makefile index de7e09b..609645b 100644 --- a/Makefile +++ b/Makefile @@ -38,3 +38,11 @@ yamllint: .PHONY: package package: (umask 0022; python -m build; python -m twine check --strict ./dist/*) + +.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..2a93df2 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,2 @@ +[default.extend-identifiers] +strat = "strat" From e4acfead4b6665a584101803b1382d7f4faad535 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 11 Aug 2026 21:59:15 -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 3e84135..b185571 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -103,3 +103,21 @@ jobs: run: pip install --user hs-dbus-signature - name: ${{ matrix.task }} 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