Skip to content

Update publications.yml #246

Update publications.yml

Update publications.yml #246

# THIS HAS BEEN MERGED INTO autobuild.yml
# So it will now run on pull request creation, and
# also as part of the main build process
# ---------------------------------------
# Check the yaml syntax using YAML Lint
name: yamllint test
# Triggers the workflow on push or pull request events
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install yamllint
run: pip install yamllint
- name: Lint YAML files
# Use config file (-c) and github output format (--format github); looking for all .yml files in repo: .
run: yamllint -c .github/workflows/.yamllint --format github .