Skip to content

[pull] main from alan-turing-institute:main #30

[pull] main from alan-turing-institute:main

[pull] main from alan-turing-institute:main #30

Workflow file for this run

name: Lint and Validate YAML files
on:
pull_request:
paths:
- "**.yaml"
- "**.yml"
push:
paths:
- "**.yaml"
- "**.yml"
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install yamllint via pip
run: |
python -m pip install yamllint
# This command automatically reads in the .yamllint config file
- name: Run yamllint on all files in the repo
run: |
yamllint -f colored .