Skip to content

Commit 32f15cc

Browse files
committed
Make openapi2crd use its own devbox
1 parent beb892a commit 32f15cc

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed

.github/workflows/openapi2crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
enable-cache: 'true'
2424

2525
- name: Update Devbox
26+
working-directory: ./tools/openapi2crd
2627
run: devbox update
2728

2829
- name: CI checks

tools/openapi2crd/devbox.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
3+
"packages": ["go-mockery@latest"],
4+
"shell": {
5+
"init_hook": [
6+
"echo 'Welcome to devbox!' > /dev/null"
7+
],
8+
"scripts": {
9+
"test": [
10+
"echo \"Error: no test specified\" && exit 1"
11+
]
12+
}
13+
}
14+
}

tools/openapi2crd/devbox.lock

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
"go-mockery@latest": {
5+
"last_modified": "2025-10-22T20:59:19Z",
6+
"resolved": "github:NixOS/nixpkgs/01b6809f7f9d1183a2b3e081f0a1e6f8f415cb09#go-mockery",
7+
"source": "devbox-search",
8+
"version": "3.5.5",
9+
"systems": {
10+
"aarch64-darwin": {
11+
"outputs": [
12+
{
13+
"name": "out",
14+
"path": "/nix/store/qzzbjxgk4ai311ibriyyj91bn5z75520-go-mockery-3.5.5",
15+
"default": true
16+
}
17+
],
18+
"store_path": "/nix/store/qzzbjxgk4ai311ibriyyj91bn5z75520-go-mockery-3.5.5"
19+
},
20+
"aarch64-linux": {
21+
"outputs": [
22+
{
23+
"name": "out",
24+
"path": "/nix/store/3vg4ak5zdpdm46ny0q8x0f1275358n14-go-mockery-3.5.5",
25+
"default": true
26+
}
27+
],
28+
"store_path": "/nix/store/3vg4ak5zdpdm46ny0q8x0f1275358n14-go-mockery-3.5.5"
29+
},
30+
"x86_64-darwin": {
31+
"outputs": [
32+
{
33+
"name": "out",
34+
"path": "/nix/store/jvvan3ans4x2w1vkj46mnwma0y24i2xz-go-mockery-3.5.5",
35+
"default": true
36+
}
37+
],
38+
"store_path": "/nix/store/jvvan3ans4x2w1vkj46mnwma0y24i2xz-go-mockery-3.5.5"
39+
},
40+
"x86_64-linux": {
41+
"outputs": [
42+
{
43+
"name": "out",
44+
"path": "/nix/store/r9s8r5h3g448bp2qi20ym2h0plxgixbn-go-mockery-3.5.5",
45+
"default": true
46+
}
47+
],
48+
"store_path": "/nix/store/r9s8r5h3g448bp2qi20ym2h0plxgixbn-go-mockery-3.5.5"
49+
}
50+
}
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)