|
| 1 | +# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> |
1 | 2 | # SPDX-License-Identifier: MPL-2.0 |
2 | 3 | # GitHub Actions CI/CD for SafeBruteForce |
3 | 4 | # Erlang/OTP + LFE project |
|
26 | 27 | build: |
27 | 28 | name: Build |
28 | 29 | runs-on: ubuntu-latest |
| 30 | + timeout-minutes: 10 |
29 | 31 |
|
30 | 32 | steps: |
31 | 33 | - name: Checkout code |
|
66 | 68 | test: |
67 | 69 | name: Test (OTP ${{ matrix.otp }}) |
68 | 70 | runs-on: ubuntu-latest |
| 71 | + timeout-minutes: 10 |
69 | 72 | needs: build |
70 | 73 |
|
71 | 74 | strategy: |
@@ -106,6 +109,7 @@ jobs: |
106 | 109 | coverage: |
107 | 110 | name: Test Coverage |
108 | 111 | runs-on: ubuntu-latest |
| 112 | + timeout-minutes: 10 |
109 | 113 | needs: build |
110 | 114 |
|
111 | 115 | steps: |
@@ -143,6 +147,7 @@ jobs: |
143 | 147 | dialyzer: |
144 | 148 | name: Dialyzer Static Analysis |
145 | 149 | runs-on: ubuntu-latest |
| 150 | + timeout-minutes: 10 |
146 | 151 | needs: build |
147 | 152 |
|
148 | 153 | steps: |
@@ -179,6 +184,7 @@ jobs: |
179 | 184 | security: |
180 | 185 | name: Security Checks |
181 | 186 | runs-on: ubuntu-latest |
| 187 | + timeout-minutes: 10 |
182 | 188 |
|
183 | 189 | steps: |
184 | 190 | - name: Checkout code |
@@ -210,6 +216,7 @@ jobs: |
210 | 216 | rsr-compliance: |
211 | 217 | name: RSR Framework Compliance |
212 | 218 | runs-on: ubuntu-latest |
| 219 | + timeout-minutes: 10 |
213 | 220 |
|
214 | 221 | steps: |
215 | 222 | - name: Checkout code |
@@ -270,6 +277,7 @@ jobs: |
270 | 277 | docs: |
271 | 278 | name: Build Documentation |
272 | 279 | runs-on: ubuntu-latest |
| 280 | + timeout-minutes: 10 |
273 | 281 | needs: build |
274 | 282 |
|
275 | 283 | steps: |
@@ -305,6 +313,7 @@ jobs: |
305 | 313 | release: |
306 | 314 | name: Create Release |
307 | 315 | runs-on: ubuntu-latest |
| 316 | + timeout-minutes: 10 |
308 | 317 | needs: [test, coverage, security, rsr-compliance] |
309 | 318 | if: startsWith(github.ref, 'refs/tags/v') |
310 | 319 |
|
@@ -339,6 +348,7 @@ jobs: |
339 | 348 | notify: |
340 | 349 | name: Notify on Failure |
341 | 350 | runs-on: ubuntu-latest |
| 351 | + timeout-minutes: 10 |
342 | 352 | needs: [test, coverage, security, rsr-compliance] |
343 | 353 | if: failure() |
344 | 354 |
|
|
0 commit comments