Skip to content

Commit

Permalink
Remove stuff from simple-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
krobertson committed Apr 1, 2024
1 parent c545501 commit 8b579eb
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/simple-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,3 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Changed Files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files_yaml: |
cue:
- metadata.rules.cue
- apps/**/metadata.json
- apps/**/metadata.yaml
- name: Setup CUE
if: ${{ steps.changed-files.outputs.cue_any_changed == 'true' }}
uses: cue-lang/[email protected]

# Run against all files to ensure they are tested if the cue schema is changed.
- name: Validate image metadata
if: ${{ steps.changed-files.outputs.cue_any_changed == 'true' }}
shell: bash
run: |
find ./apps/ -name metadata.json | xargs -I {} cue vet --schema '#Spec' {} ./metadata.rules.cue
find ./apps/ -name metadata.yaml | xargs -I {} cue vet --schema '#Spec' {} ./metadata.rules.cue

0 comments on commit 8b579eb

Please sign in to comment.