chore(deps): update actions/checkout action to v4.2.2 #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
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 |