From 153acc27627f56457f05d26100010b278be6bf81 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Date: Mon, 19 Sep 2022 12:31:47 -0700 Subject: [PATCH] Fix yaml linting workflow (#1) * Fix yaml linting workflow Signed-off-by: Sayali Gaikawad --- .github/workflows/yaml-lint.yml | 13 +++---------- .gitignore | 1 + tests/data/opensearch-1.3.0-build.yml | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/yaml-lint.yml b/.github/workflows/yaml-lint.yml index 6b19cb940..b09e64ab0 100644 --- a/.github/workflows/yaml-lint.yml +++ b/.github/workflows/yaml-lint.yml @@ -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 diff --git a/.gitignore b/.gitignore index a7a23a480..d02dd56d5 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ coverage/ .settings/ /build/ out.txt +/tar/ /builds/ diff --git a/tests/data/opensearch-1.3.0-build.yml b/tests/data/opensearch-1.3.0-build.yml index 268e10cf1..b33eef80f 100644 --- a/tests/data/opensearch-1.3.0-build.yml +++ b/tests/data/opensearch-1.3.0-build.yml @@ -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' \ No newline at end of file +schema-version: '1.2'