name: Demo CI on: push: branches: [main] workflow_dispatch: concurrency: group: demo-cicd cancel-in-progress: false jobs: check: runs-on: demo-build timeout-minutes: 30 services: buildkit: image: mirror.gcr.io/moby/buildkit@sha256:f8a833b2de9d68e27f0815e4a737abdfaf8a2e4c615650557df11025101557b4 steps: - name: Clean checkout and isolated Go checks env: GITEA_TOKEN: ${{ gitea.token }} GITEA_REPOSITORY: ${{ gitea.repository }} SOURCE_SHA: ${{ gitea.sha }} run: python3 /opt/ci/pipeline.py check