Skip to content

TkForge

TkForge #56

Workflow file for this run

name: Check
on:
push:
jobs:
check-files:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Check if required files exist or not
id: check_files
run: |
missing_files=()
[ ! -f README.md ] && missing_files+=("README.md")
[ ! -f requirements.txt ] && missing_files+=("requirements.txt")
if [ ${#missing_files[@]} -ne 0 ]; then
echo "❌ Missing files: ${missing_files[@]}"
exit 1
else
echo "✅ All required files exist."
fi