name: Demo transaction native acceptance on: workflow_call: pull_request: paths: - '.github/scripts/demo-runtime-transaction.py' - '.github/scripts/dispatch-demo-runtime.py' - '.github/scripts/tests/demo_runtime_native.py' - '.github/workflows/demo-runtime-native.yml' push: branches: [main] paths: - '.github/scripts/demo-runtime-transaction.py' - '.github/scripts/dispatch-demo-runtime.py' - '.github/scripts/tests/demo_runtime_native.py' - '.github/workflows/demo-runtime-native.yml' permissions: contents: read concurrency: group: demo-native-${{ github.run_id }}-${{ github.run_attempt }} cancel-in-progress: true jobs: native: name: Native demo systemd/Caddy proof runs-on: ubuntu-24.04 timeout-minutes: 35 steps: - name: Check out exact source without retained credentials uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Prepare Caddy only in the disposable public CI runner run: | sudo apt-get update -qq sudo apt-get install -y --no-install-recommends caddy openssl - name: Exercise real systemd Caddy and retained child recovery run: sudo --preserve-env=GITHUB_ACTIONS,RUNNER_ENVIRONMENT,GITHUB_SHA,GITHUB_RUN_ID,GITHUB_RUN_ATTEMPT python3 .github/scripts/tests/demo_runtime_native.py - name: Retain sanitised terminal receipts and cleanup if: always() uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: demo-native-${{ github.run_id }} path: demo-native-result.json if-no-files-found: error retention-days: 14