File: spelling.yml

package info (click to toggle)
libblockdev 3.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,192 kB
  • sloc: ansic: 25,226; python: 11,874; makefile: 684; sh: 503; xml: 146
file content (34 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Check spelling using codespell and spellintian

on:
  pull_request:
    branches:
     - master

jobs:
  build:
    name: spelling
    runs-on: ubuntu-24.04
    env:
      CI_CONTAINER: libblockdev-ci-spelling
    steps:
      - name: Checkout libblockdev repository
        uses: actions/checkout@v5
        with:
          path: libblockdev

      - name: Install codespell and lintian
        run: |
          sudo apt -qq update
          sudo apt -y -qq install codespell lintian

      - name: Get the storaged-project/ci repository
        uses: actions/checkout@v5
        with:
          repository: storaged-project/ci
          path: ci

      - name: Run the checks
        run: |
          python3 ../ci/run_spell_checks -p libblockdev -i gir
        working-directory: ./libblockdev