mirror of https://github.com/upx/upx.git
CI: add spell-check.yml
This commit is contained in:
parent
fa56a1d9cd
commit
127fd095e7
|
@ -0,0 +1,34 @@
|
|||
# see https://github.com/crate-ci/typos
|
||||
|
||||
# a generic spell-checker that works on source code is quite
|
||||
# tricky, so some false positives are fine
|
||||
|
||||
[files]
|
||||
extend-exclude = ["LICENSE"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
# misc variable names & symbols
|
||||
acc_spawnve = "acc_spawnve"
|
||||
fo = "fo"
|
||||
fof = "fof"
|
||||
sidelen = "sidelen"
|
||||
# assembly sources
|
||||
CArry = "CArry"
|
||||
hda = "hda"
|
||||
Larg = "Larg"
|
||||
pard = "pard"
|
||||
suble = "suble"
|
||||
|
||||
# identifiers are intelligently split into words and then checked again
|
||||
[default.extend-words]
|
||||
FO = "FO"
|
||||
fo = "fo"
|
||||
# parm is used like param
|
||||
PARM = "PARM"
|
||||
parm = "parm"
|
||||
# rela: ELF relocations
|
||||
RELA = "RELA"
|
||||
rela = "rela"
|
||||
# SEH: Structured Exception Handling
|
||||
SEH = "SEH"
|
||||
seh = "seh"
|
|
@ -0,0 +1,16 @@
|
|||
# see https://github.com/crate-ci/typos
|
||||
|
||||
name: 'Misc - Spell check'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
job-spell-check:
|
||||
name: 'Spell check'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Check out code'
|
||||
uses: actions/checkout@v3
|
||||
with: { submodules: false }
|
||||
- name: 'Spell check with crate-ci/typos'
|
||||
uses: crate-ci/typos@master
|
||||
with: { config: ./.github/typos_config.toml }
|
Loading…
Reference in New Issue