diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-12 19:56:52 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-14 04:32:36 -0300 |
commit | f3948a895fe027febb4b3aa6c5cd6a4ba0ee5948 (patch) | |
tree | 5ff2a7774eec4657f4a1c585c3a2ca3db57d95b2 /.github/workflows/build-extra.yml | |
parent | build: codespell: remove dependency on "clean" (diff) | |
download | firejail-f3948a895fe027febb4b3aa6c5cd6a4ba0ee5948.tar.gz firejail-f3948a895fe027febb4b3aa6c5cd6a4ba0ee5948.tar.zst firejail-f3948a895fe027febb4b3aa6c5cd6a4ba0ee5948.zip |
ci: move codespell job into its own workflow
Split the spellchecking job from the build-related jobs to make
debugging easier.
Diffstat (limited to '.github/workflows/build-extra.yml')
-rw-r--r-- | .github/workflows/build-extra.yml | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 0f7ddb466..3fc71a299 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -13,6 +13,7 @@ on: | |||
13 | - .github/pull_request_template.md | 13 | - .github/pull_request_template.md |
14 | - .github/workflows/build.yml | 14 | - .github/workflows/build.yml |
15 | - .github/workflows/codeql-analysis.yml | 15 | - .github/workflows/codeql-analysis.yml |
16 | - .github/workflows/codespell.yml | ||
16 | - .github/workflows/profile-checks.yml | 17 | - .github/workflows/profile-checks.yml |
17 | - .gitignore | 18 | - .gitignore |
18 | - .gitlab-ci.yml | 19 | - .gitlab-ci.yml |
@@ -35,6 +36,7 @@ on: | |||
35 | - .github/pull_request_template.md | 36 | - .github/pull_request_template.md |
36 | - .github/workflows/build.yml | 37 | - .github/workflows/build.yml |
37 | - .github/workflows/codeql-analysis.yml | 38 | - .github/workflows/codeql-analysis.yml |
39 | - .github/workflows/codespell.yml | ||
38 | - .github/workflows/profile-checks.yml | 40 | - .github/workflows/profile-checks.yml |
39 | - .gitignore | 41 | - .gitignore |
40 | - .gitlab-ci.yml | 42 | - .gitlab-ci.yml |
@@ -163,25 +165,3 @@ jobs: | |||
163 | - run: cppcheck --version | 165 | - run: cppcheck --version |
164 | - name: cppcheck | 166 | - name: cppcheck |
165 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . | 167 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . |
166 | codespell: | ||
167 | runs-on: ubuntu-22.04 | ||
168 | steps: | ||
169 | - name: Harden Runner | ||
170 | uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 | ||
171 | with: | ||
172 | egress-policy: block | ||
173 | allowed-endpoints: > | ||
174 | archive.ubuntu.com:80 | ||
175 | azure.archive.ubuntu.com:80 | ||
176 | github.com:443 | ||
177 | packages.microsoft.com:443 | ||
178 | ppa.launchpadcontent.net:443 | ||
179 | security.ubuntu.com:80 | ||
180 | - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | ||
181 | - name: update package information | ||
182 | run: sudo apt-get update -qy | ||
183 | - name: install dependencies | ||
184 | run: sudo apt-get install -qy codespell | ||
185 | - run: codespell --version | ||
186 | - name: codespell | ||
187 | run: make codespell | ||