Skip to content

Commit

Permalink
Fix yaml linting workflow (#1)
Browse files Browse the repository at this point in the history
* Fix yaml linting workflow

Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored Sep 19, 2022
1 parent 4bbc833 commit 153acc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,7 @@ jobs:
PYTHON_VERSION: 3.7
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Pipenv and Dependencies
run: |
python -m pip install --upgrade pipenv wheel
pipenv install --deploy --dev
- name: Lint YAML files
run: |-
pipenv run yamllint .
config_file: .yamllint.yml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ coverage/
.settings/
/build/
out.txt
/tar/

/builds/

Expand Down
2 changes: 1 addition & 1 deletion tests/data/opensearch-1.3.0-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2483,4 +2483,4 @@ components:
ref: main
repository: https://github.com/opensearch-project/dashboards-notebooks.git
version: 1.3.0.0
schema-version: '1.2'
schema-version: '1.2'

0 comments on commit 153acc2

Please sign in to comment.