Skip to content

Merge pull request #39 from utkdigitalinitiatives/add-role-terms-(42) #198

Merge pull request #39 from utkdigitalinitiatives/add-role-terms-(42)

Merge pull request #39 from utkdigitalinitiatives/add-role-terms-(42) #198

Workflow file for this run

name: Validate All Yamls Versus m3 Schema
on: [push, pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: [ "3.10" ]
poetry-version: [ "1.1.15" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install application
run: poetry install
- name: Validate our m3 profile
run: poetry run python utilities/validate.py
- name: Lint Yamls for Consistency
uses: karancode/yamllint-github-action@master
with:
yamllint_file_or_dir: 'maps'
yamllint_strict: false
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}