Skip to content

Commit 91d6da5

Browse files
committed
fix: update yamlfix to 1.19.1 and fail CI on yaml lint differences
- Bump yamlfix from 1.17.0 to 1.19.1 - Add --exit-code to git diff in yamlfix step so CI fails when yamlfix flags formatting differences Signed-off-by: saumya <saumyakr2006@gmail.com>
1 parent aacb9b4 commit 91d6da5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/github-actions-yaml-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python3 -m venv venv
26-
venv/bin/pip install --quiet pyyaml yamlfix==1.17.0
26+
venv/bin/pip install --quiet pyyaml yamlfix==1.19.1
2727
- name: Run generate-variables-docs.py
2828
run: |
2929
venv/bin/python3 flow/scripts/generate-variables-docs.py
@@ -40,4 +40,4 @@ jobs:
4040
yamlfix --version
4141
set -x
4242
yamlfix -c yamlfix.toml flow/scripts/variables.yaml
43-
git diff flow/scripts/variables.yaml
43+
git diff --exit-code flow/scripts/variables.yaml

0 commit comments

Comments
 (0)