From bacc6d31726af55793dc5a0c9e7fcfb633cb82d5 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe <13301940+andersy005@users.noreply.github.com> Date: Mon, 6 May 2024 16:47:44 -0700 Subject: [PATCH] add catalog validation (#2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/validate-catalog.yaml | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/validate-catalog.yaml diff --git a/.github/workflows/validate-catalog.yaml b/.github/workflows/validate-catalog.yaml new file mode 100644 index 0000000..575eed0 --- /dev/null +++ b/.github/workflows/validate-catalog.yaml @@ -0,0 +1,27 @@ +name: catalog + +on: + pull_request: + branches: + push: + branches: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + validate: + runs-on: ubuntu-latest + defaults: + run: + shell: bash -l {0} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + - name: validate feedstock entry + uses: leap-stc/data-catalog-actions/leap-catalog@main + with: + single-feedstock: "./feedstock/catalog.yaml"