File tree Expand file tree Collapse file tree 1 file changed +70
-0
lines changed
Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ format :
11+ name : Check Formatting
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - uses : oven-sh/setup-bun@v2
17+ with :
18+ bun-version : latest
19+
20+ - run : bun install
21+
22+ - run : bun format:check
23+
24+ lint :
25+ name : Check Linting
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v4
29+
30+ - uses : oven-sh/setup-bun@v2
31+ with :
32+ bun-version : latest
33+
34+ - run : bun install
35+
36+ - run : bun lint
37+
38+ build :
39+ name : Build
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@v4
43+
44+ - uses : oven-sh/setup-bun@v2
45+ with :
46+ bun-version : latest
47+
48+ - run : bun install
49+
50+ - run : bun build
51+
52+ release :
53+ name : Build Binary
54+ runs-on : ubuntu-latest
55+ needs : [format, lint, build]
56+ steps :
57+ - uses : actions/checkout@v4
58+
59+ - uses : oven-sh/setup-bun@v2
60+ with :
61+ bun-version : latest
62+
63+ - run : bun install
64+
65+ - run : bun build
66+
67+ - uses : actions/upload-artifact@v4
68+ with :
69+ name : devhub-linux-x64
70+ path : dist/devhub
You can’t perform that action at this time.
0 commit comments