diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index bec91afb..15466d4d 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -13,7 +13,7 @@ env: jobs: check: - runs-on: [] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v5 @@ -44,7 +44,7 @@ jobs: tests-unit: needs: check - runs-on: [] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v5 @@ -72,7 +72,7 @@ jobs: tests-integration: needs: check - runs-on: [] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v5 @@ -88,7 +88,7 @@ jobs: tests-ui: needs: check - runs-on: [] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v5 @@ -119,7 +119,7 @@ jobs: preflight: needs: [tests-unit, tests-integration, tests-ui] if: gitea.event_name == 'pull_request' || (gitea.event_name == 'push' && startsWith(gitea.ref, 'refs/heads/codex/')) - runs-on: [] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v5 @@ -148,7 +148,7 @@ jobs: deploy: needs: [tests-unit, tests-integration, tests-ui] if: gitea.event_name == 'push' && (gitea.ref_name == 'main' || gitea.ref_name == 'master') - runs-on: [] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v5 diff --git a/src/lib/ci-workflow-contract.test.ts b/src/lib/ci-workflow-contract.test.ts index 30a7b66c..ab22bfbe 100644 --- a/src/lib/ci-workflow-contract.test.ts +++ b/src/lib/ci-workflow-contract.test.ts @@ -34,12 +34,12 @@ describe("CI workflow", () => { workflow.indexOf("check:"), workflow.indexOf("\n deploy:"), ); - expect(checkJob).toContain("runs-on: []"); + expect(checkJob).toContain("runs-on: ubuntu-latest"); }); it("deploy job runs on host runner", () => { const deployJob = workflow.slice(workflow.indexOf("\n deploy:")); - expect(deployJob).toContain("runs-on: []"); + expect(deployJob).toContain("runs-on: ubuntu-latest"); }); it("check includes toolchain check", () => {