Skip to content

Commit 76b7ab0

Browse files
committed
ci(github): squash ci workflow jobs into a single one
1 parent c58d220 commit 76b7ab0

1 file changed

Lines changed: 9 additions & 32 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
branches: [main]
88

99
jobs:
10-
Scan:
10+
Required:
11+
timeout-minutes: 15
1112
runs-on: ubuntu-latest
12-
timeout-minutes: 5
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4
@@ -19,39 +19,16 @@ jobs:
1919
- name: Setup
2020
uses: ./.github/actions/setup
2121

22-
- name: Secret
23-
run: task scan-secrets-local
24-
25-
- name: Vulnerability
26-
run: task scan-vulns-local
27-
28-
- name: Misconfiguration
29-
run: task scan-misconfigs-local
30-
31-
Lint:
32-
runs-on: ubuntu-latest
33-
timeout-minutes: 5
34-
steps:
35-
- name: Checkout
36-
uses: actions/checkout@v4
37-
38-
- name: Setup
39-
uses: ./.github/actions/setup
22+
- name: Scan
23+
run: |
24+
task scan-secrets-local
25+
task scan-vulns-local
26+
task scan-misconfigs-local
4027
41-
- name: Check
28+
- name: Lint
4229
run: task lint-check
4330

44-
Test:
45-
runs-on: ubuntu-latest
46-
timeout-minutes: 15
47-
steps:
48-
- name: Checkout
49-
uses: actions/checkout@v4
50-
51-
- name: Setup
52-
uses: ./.github/actions/setup
53-
54-
- name: Unit
31+
- name: Test
5532
run: task test-unit
5633

5734
- name: Upload Report

0 commit comments

Comments
 (0)