CI: codespell

Closes #635
pull/638/head
Daniel Stenberg 1 year ago
parent 054f474a29
commit 52e72fe812
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
  1. 13
      .github/scripts/codespell-ignore.txt
  2. 33
      .github/workflows/codespell.yml

@ -0,0 +1,13 @@
# Copyright (C) The c-ares project and its contributors
#
# SPDX-License-Identifier: MIT
aci
sais
aas
acter
msdos
statics
firey
bre
ba
fo

@ -0,0 +1,33 @@
# Copyright (C) The c-ares project and its contributors
#
# SPDX-License-Identifier: MIT
name: Codespell
on:
push:
branches:
- main
paths:
- 'src/**'
- 'include/**'
pull_request:
branches:
- main
- 'src/**'
- 'include/**'
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: install
run: |
sudo apt-get update
sudo apt-get install codespell
- name: spellcheck
run: codespell -I .github/scripts/codespell-ignore.txt include src
Loading…
Cancel
Save