2020-11-25 14:15:15 +00:00
|
|
|
name: format_validation
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2020-11-25 14:50:02 +00:00
|
|
|
image: ixsystems/catalog_validation:latest
|
2020-11-25 14:15:15 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
name: Checkout
|
|
|
|
- name: Validate catalog format
|
|
|
|
run: |
|
|
|
|
/bin/bash -c "PWD=${pwd}; /usr/local/bin/catalog_validate validate --path $PWD"
|