Skip to content

Commit e2a6b29

Browse files
committed
Update GH actions, spellcheck Quarto docs
1 parent b87219f commit e2a6b29

9 files changed

Lines changed: 27 additions & 12 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636
with:
3737
submodules: 'true'
3838

.github/workflows/cppcheck.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ jobs:
55
build:
66
name: cppcheck-test
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
810
steps:
9-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1012

1113
- name: create test file
1214
run: |
@@ -16,7 +18,7 @@ jobs:
1618
uses: deep5050/cppcheck-action@main
1719
with:
1820
github_token: ${{ secrets.GITHUB_TOKEN}}
19-
std: c++17
21+
std: c++20
2022
inline_suppression: enable
2123
exclude_check: ./tests
2224
output_file: cppcheck_report.txt

.github/workflows/doxygen.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ jobs:
55
build:
66
name: doxygen-test
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
810
steps:
9-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1012
with:
1113
submodules: 'true'
1214

.github/workflows/mac-unit-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ jobs:
55
build:
66
name: unit-tests
77
runs-on: macos-latest
8+
permissions:
9+
contents: read
810
steps:
9-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1012
with:
1113
submodules: 'true'
1214

.github/workflows/msvc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
submodules: 'true'
3434

.github/workflows/quneiform.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ jobs:
55
build:
66
name: quneiform
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
810
steps:
9-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1012

1113
- name: install quneiform
1214
run: |

.github/workflows/spell-check.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@ on: [push]
33

44
jobs:
55
check-unix:
6-
runs-on: ubuntu-latest
76
name: Check Spelling
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
810

911
steps:
1012
- name: Checkout
11-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1214

1315
- name: Install codespell
1416
run: |
1517
pip install codespell
1618
- name: Run codespell
1719
run: |
18-
codespell src/ *.md
20+
# just spellcheck the overviews and manual, that's where the bulk of docs are
21+
codespell *.md *.qmd
1922
rc=$?
2023
if [ $rc != 0 ]; then
2124
cat <<EOF

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ jobs:
55
build:
66
name: unit-tests
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
810
steps:
9-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1012
with:
1113
submodules: 'true'
1214

.github/workflows/windows-unit-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ jobs:
99
build:
1010
name: unit-tests
1111
runs-on: windows-latest
12+
permissions:
13+
contents: read
1214
steps:
13-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1416
with:
1517
submodules: 'true'
1618
- run: git config --global core.autocrlf input

0 commit comments

Comments
 (0)