Skip to content

Adding quickdeskband.dll (#84) #30

Adding quickdeskband.dll (#84)

Adding quickdeskband.dll (#84) #30

---
name: Entry Validation
on:
push:
branches:
- main
paths:
- "yml/**"
pull_request:
paths:
- "yml/**"
jobs:
linting-and-qc-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check file extensions
run: |
files=$(find "$GITHUB_WORKSPACE/yml" -type f -not -name "*.yml");
if [[ $files ]]; then
echo "::errror::Files with unexpected extension found, please ensure you use '.yml' (all lower case) for files in the yml/ folder.";
for i in $files; do echo "::error file=$i,line=1::Unexpected extension"; done
exit 1;
fi
unset files
- name: Run YAML linter
uses: ibiqlik/action-yamllint@v3.1.1
with:
config_file: .github/.yamllint
file_or_dir: yml/**/*.yml
- name: Run Pydantic validator
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r .github/schema/requirements.txt
python3 .github/schema/pychecks.py "yml/**/*.yml"