Skip to content

Updated dscacheutil with 2 new use cases, fix descriptions of previous use cases #59

Updated dscacheutil with 2 new use cases, fix descriptions of previous use cases

Updated dscacheutil with 2 new use cases, fix descriptions of previous use cases #59

name: Validate LOOBins
on: [pull_request]
jobs:
validate_loobin:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
with:
files: LOOBins/*.{yml,yaml}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyloobins
- name: Checking the YAML files with pyloobins
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
pyloobins validate --path $file
done