File tree Expand file tree Collapse file tree 3 files changed +62
-34
lines changed
Expand file tree Collapse file tree 3 files changed +62
-34
lines changed Original file line number Diff line number Diff line change 1+ name : Check misspelled words with codespell
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ # Allows you to run this workflow manually from the Actions tab
9+ workflow_dispatch :
10+ jobs :
11+ codespell :
12+ name : Check for spelling errors
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@main
18+
19+ # See: https://github.com/codespell-project/actions-codespell/blob/master/README.md
20+ - name : Spell check
21+ uses : codespell-project/actions-codespell@master
22+ with :
23+ check_filenames : true
24+ check_hidden : true
25+ # In the event of a false positive, add the word in all lower case to this file:
26+ # ignore_words_file: ./CI/codespell/.codespellignore
Original file line number Diff line number Diff line change 1515 # Allows you to run this workflow manually from the Actions tab
1616 workflow_dispatch :
1717jobs :
18- astyle_check :
19- runs-on : ubuntu-latest
20- name : AStyle check
21- steps :
22- # First of all, clone the repo using the checkout action.
23- - name : Checkout
24- uses : actions/checkout@main
25-
26- - name : Astyle check
27- id : Astyle
28- uses : stm32duino/actions/astyle-check@main
29-
30- # Use the output from the `Astyle` step
31- - name : Astyle Errors
32- if : failure()
33- run : |
34- cat ${{ steps.Astyle.outputs.astyle-result }}
35- exit 1
36- codespell :
37- name : Check for spelling errors
38- runs-on : ubuntu-latest
39- steps :
40- - name : Checkout
41- uses : actions/checkout@main
42-
43- # See: https://github.com/codespell-project/actions-codespell/blob/master/README.md
44- - name : Spell check
45- uses : codespell-project/actions-codespell@master
46- with :
47- check_filenames : true
48- check_hidden : true
49- # In the event of a false positive, add the word in all lower case to this file:
50- # ignore_words_file: ./extras/codespell-ignore-words-list.txt
5118 lib_build :
5219 runs-on : ubuntu-latest
5320 name : Library compilation
6027 id : Compile
6128 uses : stm32duino/actions/compile-examples@main
6229 with :
63- board-pattern : " .*NUCLEO_([^F]|F[^0]|F0[^34]) .*"
30+ board-pattern : " .*NUCLEO .*"
6431 custom-config : " ./extras/rtc_cores_config.json"
6532
6633 # Use the output from the `Compile` step
Original file line number Diff line number Diff line change 1+ name : Check code formatting with astyle
2+ on :
3+ push :
4+ branches :
5+ - main
6+ paths-ignore :
7+ - ' *'
8+ - ' **.md'
9+ - ' **.txt'
10+ pull_request :
11+ paths-ignore :
12+ - ' *'
13+ - ' **.md'
14+ - ' **.txt'
15+ # Allows you to run this workflow manually from the Actions tab
16+ workflow_dispatch :
17+ jobs :
18+ astyle_check :
19+ runs-on : ubuntu-latest
20+ name : Check for astyle errors
21+ steps :
22+ # First of all, clone the repo using the checkout action.
23+ - name : Checkout
24+ uses : actions/checkout@main
25+
26+ - name : Astyle check
27+ id : Astyle
28+ uses : stm32duino/actions/astyle-check@main
29+
30+ # Use the output from the `Astyle` step
31+ - name : Astyle Errors
32+ if : failure()
33+ run : |
34+ cat ${{ steps.Astyle.outputs.astyle-result }}
35+ exit 1
You can’t perform that action at this time.
0 commit comments