| 1 | name: Squad Preview Validation |
| 2 | # python project — configure build, test, and validation commands below |
| 3 | |
| 4 | on: |
| 5 | push: |
| 6 | branches: [preview] |
| 7 | |
| 8 | permissions: |
| 9 | contents: read |
| 10 | |
| 11 | jobs: |
| 12 | validate: |
| 13 | runs-on: ubuntu-latest |
| 14 | steps: |
| 15 | - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
| 16 | |
| 17 | - name: Build and test |
| 18 | run: | |
| 19 | # TODO: Add your python build/test commands here |
| 20 | # Go: go test ./... |
| 21 | # Python: pip install -r requirements.txt && pytest |
| 22 | # .NET: dotnet test |
| 23 | # Java (Maven): mvn test |
| 24 | # Java (Gradle): ./gradlew test |
| 25 | echo "No build commands configured — update squad-preview.yml" |
| 26 | |
| 27 | - name: Validate |
| 28 | run: | |
| 29 | # TODO: Add pre-release validation commands here |
| 30 | echo "No validation commands configured — update squad-preview.yml" |