feat(license): Update for 2024 changes #12
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
name: Run mandoc linter on manual pages | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '.github/workflows/lint-manpages.yml' | |
- 'man/*.1' | |
pull_request: | |
branches: [main] | |
paths: | |
- '.github/workflows/lint-manpages.yml' | |
- 'man/*.1' | |
jobs: | |
build: | |
name: Run mandoc linter on manpages (Ubuntu latest) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install mandoc and print its version | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get -qq install -o=Dpkg::Use-Pty=0 -y mandoc | |
sudo apt-get clean | |
dpkg-query -W -f='\nCurrent mandoc is ${binary:Package} ${Version}\n' mandoc | |
- name: Run mandoc linter | |
working-directory: ${{github.workspace}}/man | |
run: mandoc -T lint ./*.1 |