Change version to match production. #188
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |