| 1 |
name: Check spelling using codespell and spellintian |
| 2 |
|
| 3 |
on: |
| 4 |
pull_request: |
| 5 |
branches: |
| 6 |
- master |
| 7 |
|
| 8 |
jobs: |
| 9 |
build: |
| 10 |
name: spelling |
| 11 |
runs-on: ubuntu-24.04 |
| 12 |
env: |
| 13 |
CI_CONTAINER: libblockdev-ci-spelling |
| 14 |
steps: |
| 15 |
- name: Checkout libblockdev repository |
| 16 |
uses: actions/checkout@v6 |
| 17 |
with: |
| 18 |
path: libblockdev |
| 19 |
|
| 20 |
- name: Install codespell and lintian |
| 21 |
run: | |
| 22 |
sudo apt -qq update |
| 23 |
sudo apt -y -qq install codespell lintian |
| 24 |
|
| 25 |
- name: Get the storaged-project/ci repository |
| 26 |
uses: actions/checkout@v6 |
| 27 |
with: |
| 28 |
repository: storaged-project/ci |
| 29 |
path: ci |
| 30 |
|
| 31 |
- name: Run the checks |
| 32 |
run: | |
| 33 |
python3 ../ci/run_spell_checks -p libblockdev -i gir |
| 34 |
working-directory: ./libblockdev |