Download github/workflows/code-quality.yml. from AbdulElahGwaith/vscode-docs-archive: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/AbdulElahGwaith/vscode-docs-archive/resolve/main/github/workflows/code-quality.yml.
- Command line
-
hf download hf://AbdulElahGwaith/vscode-docs-archive/github/workflows/code-quality.yml.
-
curl -L -o code-quality.yml. https://huggingface.co/AbdulElahGwaith/vscode-docs-archive/resolve/main/github/workflows/code-quality.yml.
727 Bytes
| name: Code Quality Check | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| extensions: mbstring, xml, ctype, iconv, json | |
| - name: Check for Syntax Errors | |
| run: | | |
| # فحص ملفات الماركدوان للتأكد من عدم وجود أخطاء هيكلية في نماذج الكود | |
| find . -name "*.md" -exec grep -l '<?php' {} + | xargs -I {} php -l {} || true | |
| echo "Syntax check completed for documentation files." | |