-
Notifications
You must be signed in to change notification settings - Fork 222
55 lines (51 loc) · 1.31 KB
/
run_pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Purpose: Run the CI/CD pipeline that tests, packages, and publishes ScubaGear.
# Note: This pipeline is a work in progress. At the moment, it is only doing linting, syntax checking, security scanning, and unit testing.
name: CI Pipeline
on:
push:
paths-ignore:
- '.github/workflows/*'
- 'Testing/workflow/*'
- 'utils/workflow/*'
pull_request:
workflow_dispatch:
permissions: read-all
jobs:
# Lint and Syntax Checks
lint-yaml:
name: Lint
uses: ./.github/workflows/lint_yaml.yaml
lint-powershell:
name: Lint
uses: ./.github/workflows/lint_powershell.yaml
syntax-markdown:
name: Syntax
uses: ./.github/workflows/syntax_check_markdown.yaml
# Security Checks
scan-secret:
name: Security
needs:
- lint-yaml
- lint-powershell
- syntax-markdown
uses: ./.github/workflows/run_secret_scan.yaml
check-security:
name: Security
needs:
- lint-yaml
- lint-powershell
- syntax-markdown
uses: ./.github/workflows/check_security.yaml
# Unit Tests
unit-powershell:
name: Unit
needs:
- scan-secret
- check-security
uses: ./.github/workflows/unit_test_powershell.yaml
unit-opa:
name: Unit
needs:
- scan-secret
- check-security
uses: ./.github/workflows/unit_test_opa.yaml