Skip to content

Commit f53a66f

Browse files
committed
Install uv before running tests
1 parent 1a5fe1d commit f53a66f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { awscdk } from 'projen';
1+
import { awscdk, JsonPatch } from 'projen';
22
import { JobPermission } from 'projen/lib/github/workflows-model';
33
const project = new awscdk.AwsCdkConstructLibrary({
44
author: 'Eoin Shanaghy',
@@ -29,6 +29,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
2929
},
3030
eslint: false,
3131
});
32+
3233
const biomeWorkflow = project.github?.addWorkflow('biome');
3334
biomeWorkflow?.on({
3435
pullRequest: {
@@ -62,5 +63,10 @@ biomeWorkflow?.addJobs({
6263
},
6364
});
6465

66+
const buildWorkflow = project.tryFindObjectFile('.github/workflows/build.yml');
67+
if (buildWorkflow) {
68+
buildWorkflow.patch(JsonPatch.add('/jobs/build/steps/0', {"name": "Install uv", "run": "pip install uv"}));
69+
}
70+
6571
project.files;
6672
project.synth();

0 commit comments

Comments
 (0)