• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
2#
3# SPDX-License-Identifier: curl
4
5name: Codespell
6
7on:
8  push:
9    branches:
10      - master
11      - '*/ci'
12    paths:
13      - 'lib/**'
14      - 'src/**'
15      - 'include/**'
16  pull_request:
17    branches:
18      - master
19      - 'lib/**'
20      - 'src/**'
21      - 'include/**'
22
23permissions: {}
24
25jobs:
26  codespell:
27    runs-on: ubuntu-latest
28    steps:
29      - name: Checkout
30        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
31
32      - name: install
33        run: |
34          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
35          sudo apt-get update
36          sudo apt-get install codespell
37
38      - name: spellcheck
39        run: codespell --skip src/tool_hugehelp.c -I .github/scripts/codespell-ignore.txt include src lib
40