add playwright tests for 1.10 with NFS #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden runner | |
| uses: step-security/harden-runner@v2 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Validate YAML files in argocd/ and catalog/ | |
| run: | | |
| find .github argocd catalog helm techdocs -name '*.yaml' -o -name '*.yml' | while read -r file; do | |
| echo " $file" | |
| yq '.' "$file" > /dev/null | |
| done | |
| - name: Run shellcheck on scripts/ | |
| run: | | |
| echo "Running shellcheck on scripts/..." | |
| find scripts -name '*.sh' | while read -r file; do | |
| echo " $file" | |
| shellcheck "$file" | |
| done | |
| - name: Verify no changes in .github/ | |
| run: | | |
| if [ -n "$(git status --porcelain .github/)" ]; then | |
| echo "::error::Unexpected changes detected in .github/ after CI steps:" | |
| git diff .github/ | |
| exit 1 | |
| fi | |
| echo "No changes in .github/ — OK" |