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/codespell.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/codespell.yml')
-rw-r--r-- | .github/workflows/codespell.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 000000000..aab0674ec --- /dev/null +++ b/.github/workflows/codespell.yml | |||
@@ -0,0 +1,38 @@ | |||
1 | name: Codespell | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | paths: | ||
6 | - 'src/**' | ||
7 | - 'test/**' | ||
8 | pull_request: | ||
9 | paths: | ||
10 | - 'src/**' | ||
11 | - 'test/**' | ||
12 | |||
13 | permissions: # added using https://github.com/step-security/secure-workflows | ||
14 | contents: read | ||
15 | |||
16 | jobs: | ||
17 | codespell: | ||
18 | runs-on: ubuntu-22.04 | ||
19 | steps: | ||
20 | - name: Harden Runner | ||
21 | uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 | ||
22 | with: | ||
23 | egress-policy: block | ||
24 | allowed-endpoints: > | ||
25 | archive.ubuntu.com:80 | ||
26 | azure.archive.ubuntu.com:80 | ||
27 | github.com:443 | ||
28 | packages.microsoft.com:443 | ||
29 | ppa.launchpadcontent.net:443 | ||
30 | security.ubuntu.com:80 | ||
31 | - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | ||
32 | - name: update package information | ||
33 | run: sudo apt-get update -qy | ||
34 | - name: install dependencies | ||
35 | run: sudo apt-get install -qy codespell | ||
36 | - run: codespell --version | ||
37 | - name: codespell | ||
38 | run: make codespell | ||