-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend CI build checks to cover manual pages.
Configure an additional CI job to run some basic formatting and style checks on the changes to the manual page. As part of that, address all the identified issues there so we could start with a clean slate. At the same time, make running ShellCheck dependent on changes to the script itself, so it will not be run unless that is necessary.
- Loading branch information
Showing
4 changed files
with
152 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Manual page linter | ||
on: | ||
push: | ||
paths: | ||
- 'man/**' | ||
- '.github/workflows/man.yml' | ||
|
||
jobs: | ||
Checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: vmactions/freebsd-vm@v1 | ||
with: | ||
usesh: true | ||
prepare: | | ||
pkg install -y igor | ||
run: | | ||
make VERSION=9.9.9 mancheck |
15 changes: 8 additions & 7 deletions
15
.github/workflows/checks.yml → .github/workflows/shellcheck.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.