Skip to content

Commit

Permalink
Use a separate syntax check in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjelonek authored Apr 12, 2024
1 parent 917f3ab commit 998813f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/yaml_check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: json-yaml-validate
name: validate-yaml
on:
push:
paths:
Expand All @@ -14,11 +14,21 @@ permissions:
contents: read

jobs:
json-yaml-validate:
syntax-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: yaml-schema-validator
- name: check syntax
id: json-yaml-validate
uses: GrantBirki/[email protected]
with:
use_dot_match: false
files: "ssh_keys.yaml"
schema-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: check schema
uses: nrkno/[email protected]
with:
schema: _schema.yaml
Expand Down

0 comments on commit 998813f

Please sign in to comment.