-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (59 loc) · 2.08 KB
/
test.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Test
on:
pull_request:
types: [opened, edited, synchronize]
permissions:
contents: write
pull-requests: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: List directory contents for debugging
run: ls -al
- name: Setup Lula
uses: ./setup/
with:
# renovate: datasource=github-tags depName=defenseunicorns/lula extractVersion="^v(.*)$" versioning=semver-coerced
version: v0.4.5
- name: Lint OSCAL file
uses: ./lint/
with:
oscal_target: ./test/valid-multi-component.yaml
- name: Validate OSCAL component-definition file without options
uses: ./validate/
with:
component_definition: ./test/valid-multi-component.yaml
assessment_result: ./test/oscal-assessment-results.yaml
options:
- name: Validate OSCAL component-definition file with options
uses: ./validate/
with:
component_definition: ./test/valid-multi-component.yaml
assessment_result: ./test/oscal-assessment-results.yaml
options: -t rev5
- name: Evaluate OSCAL assessment-results file without options
uses: ./evaluate/
with:
threshold: ./test/oscal-assessment-results.yaml
- name: Evaluate OSCAL assessment-results files without options
uses: ./evaluate/
with:
threshold: ./test/oscal-assessment-results.yaml
file: ./test/assessment-results.yaml
- name: Evaluate OSCAL assessment-results file(s) with options
uses: ./evaluate/
with:
threshold: ./test/oscal-assessment-results.yaml
options: -t rev5
- name: Evaluate OSCAL assessment-results files with options
uses: ./evaluate/
with:
threshold: ./test/oscal-assessment-results.yaml
file: ./test/assessment-results.yaml
options: -t rev5