Skip to content
Open
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
23 changes: 9 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,7 @@ jobs:
- name: Run test
run: make -f Makefile check

ci-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 make yamllint
- name: Run test
run: make -f Makefile yamllint

spelling-checks:
spelling-and-formatting-checks:
runs-on: ubuntu-latest
container: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
Expand All @@ -47,6 +35,9 @@ jobs:
dnf install -y
clang
make
xmllint
which
yamllint
- uses: actions/checkout@v6
with:
persist-credentials: false
Expand All @@ -57,5 +48,9 @@ jobs:
- uses: baptiste0928/cargo-install@v3
with:
crate: typos-cli
- name: Run test
- name: Run spell check
run: make -f Makefile check-typos
- name: Run format check
run: make -f Makefile fmt
- name: Run lint check
run: make -f Makefile yamllint
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,13 @@ website-copy: test-website-repo test-commit-msg clean website-distrib
(cd ./public; cp * -R ${WEBSITE_REPO})
(cd ${WEBSITE_REPO}; git add .; git commit -m "${COMMIT_MSG}")

fmt:
(cd ./docs/dbus ; $(MAKE) fmt)

.PHONY:
check
clean
fmt
pdfs
test-commit-msg
test-website-repo
Expand Down
7 changes: 7 additions & 0 deletions docs/dbus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ check-closed-insets:

check: check-closed-insets

fmt:
xmllint --format ./blockdev.xml --output ./blockdev.xml
xmllint --format ./filesystem.xml --output ./filesystem.xml
xmllint --format ./manager.xml --output ./manager.xml
xmllint --format ./pool.xml --output ./pool.xml

.PHONY:
check
check-closed-insets
fmt
223 changes: 112 additions & 111 deletions docs/dbus/blockdev.xml

Large diffs are not rendered by default.

Loading