name: Lab2 application on: [push, pull_request] permissions: contents: read jobs: application: # This label requires an isolated disposable VM with its own Docker daemon. # Do not attach PR jobs to a shared Docker host (CONTRIBUTING.md). runs-on: lab2-isolated-docker timeout-minutes: 20 steps: - uses: https://github.com/actions/checkout@v4 with: persist-credentials: false - uses: https://github.com/actions/setup-go@v5 with: go-version-file: go.mod cache: false - uses: https://github.com/actions/setup-python@v5 with: python-version: '3.12' - name: Install test dependencies run: ./scripts/setup-tests.sh - name: Build and verify disposable application stack run: .venv/bin/python student-tests/stack.py verify --output student-tests/output/ci - name: Print sanitized result if: always() run: | if [ -f student-tests/output/ci/summary.json ]; then cat student-tests/output/ci/summary.json fi