Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default.extend-identifiers]
strat = "strat"