diff options
Diffstat (limited to '.github/workflows/check-c.yml')
-rw-r--r-- | .github/workflows/check-c.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml index 16e034d48..ef952d132 100644 --- a/.github/workflows/check-c.yml +++ b/.github/workflows/check-c.yml | |||
@@ -43,6 +43,7 @@ permissions: # added using https://github.com/step-security/secure-workflows | |||
43 | jobs: | 43 | jobs: |
44 | scan-build: | 44 | scan-build: |
45 | runs-on: ubuntu-22.04 | 45 | runs-on: ubuntu-22.04 |
46 | timeout-minutes: 10 | ||
46 | steps: | 47 | steps: |
47 | - name: Harden Runner | 48 | - name: Harden Runner |
48 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 | 49 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 |
@@ -74,6 +75,7 @@ jobs: | |||
74 | 75 | ||
75 | cppcheck: | 76 | cppcheck: |
76 | runs-on: ubuntu-22.04 | 77 | runs-on: ubuntu-22.04 |
78 | timeout-minutes: 10 | ||
77 | steps: | 79 | steps: |
78 | - name: Harden Runner | 80 | - name: Harden Runner |
79 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 | 81 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 |
@@ -101,6 +103,7 @@ jobs: | |||
101 | # scan all files also with older cppcheck version from ubuntu 20.04. | 103 | # scan all files also with older cppcheck version from ubuntu 20.04. |
102 | cppcheck_old: | 104 | cppcheck_old: |
103 | runs-on: ubuntu-20.04 | 105 | runs-on: ubuntu-20.04 |
106 | timeout-minutes: 10 | ||
104 | steps: | 107 | steps: |
105 | - name: Harden Runner | 108 | - name: Harden Runner |
106 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 | 109 | uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 |
@@ -129,6 +132,7 @@ jobs: | |||
129 | contents: read | 132 | contents: read |
130 | security-events: write | 133 | security-events: write |
131 | runs-on: ubuntu-latest | 134 | runs-on: ubuntu-latest |
135 | timeout-minutes: 10 | ||
132 | 136 | ||
133 | steps: | 137 | steps: |
134 | - name: Harden Runner | 138 | - name: Harden Runner |