Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
verify:
name: verify
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
Resolved
timeout-minutes: 15
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/patch-validator-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
verify_image:
name: verify-patch-validator-image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 180
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reviewer-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
reviewer:
name: reviewer
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
NOEMA_CODEGRAPH_SANDBOX_SOURCE_IMAGE: gcr.io/distroless/java-base-debian13:nonroot
Expand Down
21 changes: 21 additions & 0 deletions test/workflow-runner-selector.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { readFileSync } from "node:fs";

import { describe, expect, it } from "vitest";

const requiredRunnerBackedWorkflows = [
".github/workflows/ci.yml",
".github/workflows/reviewer-ci.yml",
".github/workflows/patch-validator-image.yml",
] as const;

describe("required workflow runner selector", () => {
it.each(requiredRunnerBackedWorkflows)(
"%s uses the explicit supported Ubuntu runner image",
(workflowPath) => {
const workflow = readFileSync(workflowPath, "utf8");

expect(workflow).toContain("runs-on: ubuntu-24.04");
expect(workflow).not.toContain("runs-on: ubuntu-latest");
Comment thread
seonghobae marked this conversation as resolved.
Resolved
},
);
});
Loading