diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a9683e..af90516 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,19 +38,16 @@ jobs: make xmllint which - yamllint - uses: actions/checkout@v6 with: persist-credentials: false - uses: actions-rust-lang/setup-rust-toolchain@v1 with: components: cargo - - uses: baptiste0928/cargo-install@v3 - with: - crate: typos-cli - - name: Run spell check - run: make -f Makefile check-typos - name: Run format check run: make -f Makefile fmt-ci - - name: Run lint check - run: make -f Makefile yamllint + + general_checks: + uses: stratis-storage/github-actions/.github/workflows/reusable_general.yml@master + with: + fedora-container-image-number: 43 # CURRENT DEVELOPMENT ENVIRONMENT diff --git a/Makefile b/Makefile index 9b48088..6df2956 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ website-test: website-distrib yamllint: yamllint --strict .github/workflows/*.yml + yamllint --strict .yamllint.yaml check: (cd ./docs/design ; $(MAKE) check) @@ -50,6 +51,9 @@ clean: check-typos: typos +fix-typos: + typos -w + WEBSITE_REPO ?= test-website-repo: echo "Testing that WEBSITE_REPO environment variable is set to a directory path" @@ -73,7 +77,9 @@ fmt-ci: .PHONY: check + check-typos clean + fix-typos fmt fmt-ci pdfs