diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 427c7e9..816e95a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,3 +23,21 @@ jobs: - uses: actions/checkout@v4 - name: Run yamllint check run: make yamllint + + 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 diff --git a/Makefile b/Makefile index ca3382f..c3727c6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ +.PHONY: yamllint yamllint: yamllint --strict */*.yml yamllint .github/workflows/*.yml -.PHONY: - yamllint +.PHONY: check-typos +check-typos: + typos + +.PHONY: fix-typos +fix-typos: + typos -w