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
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ website-test: website-distrib

yamllint:
yamllint --strict .github/workflows/*.yml
yamllint --strict .yamllint.yaml

check:
(cd ./docs/design ; $(MAKE) check)
Expand All @@ -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"
Expand All @@ -73,7 +77,9 @@ fmt-ci:

.PHONY:
check
check-typos
clean
fix-typos
fmt
fmt-ci
pdfs
Expand Down