Skip to content

Commit

Permalink
add catalog validation to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hoptical committed Sep 19, 2023
1 parent c56ea43 commit 085a5f2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Checks

on:
push:
branches:
- main
pull_request:

jobs:
test:
name: opm validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install opm
run: |
curl -L https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.13/opm-linux.tar.gz | tar -xvz
chmod +x ./opm
mv opm /usr/local/bin/opm
- name: Catalog Validation
run: opm validate catalog

0 comments on commit 085a5f2

Please sign in to comment.