Skip to content

Commit

Permalink
still working on where/how to oscal lint
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudBeard committed Jun 28, 2024
1 parent ee8bc28 commit fa05cd4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull-request-conditionals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
run: brew install defenseunicorns/tap/[email protected]
- name: Run Formatting Checks
run: uds run lint-check --no-progress
- name: Setup Lula
uses: .github/actions/setup

# This job checks if there are changes in specific paths source packages.
check-paths:
Expand Down
4 changes: 4 additions & 0 deletions tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ tasks:
- name: lint-fix
actions:
- task: lint:fix

- name: lint-oscal
actions:
- task: lint:oscal
8 changes: 8 additions & 0 deletions tasks/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
includes:
- remote: https://raw.githubusercontent.com/defenseunicorns/uds-common/main/tasks/lint.yaml

tasks:
- name: fix
description: "Fix formatting issues in the repo"
Expand All @@ -17,3 +20,8 @@ tasks:
cmd: CMD=pip && which $CMD || CMD=pip3 && $CMD install yamllint
- description: yaml lint
cmd: yamllint . -c .yamllint --no-warnings

- name: oscal
actions:
- description: Lula Lint OSCAL
- task: remote:oscal

0 comments on commit fa05cd4

Please sign in to comment.