fix(ci): use runs-on: ubuntu-latest (non-empty) for Gitea Actions v5
This commit is contained in:
1 parent
6e82a02e64
commit
0d943fe3dc
2 files changed
+8
-8
No files matched your search
@@ -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", () => {
|
||||
|
||||
Reference in new issue
Block a user