Skip to content
This repository was archived by the owner on Jan 24, 2026. It is now read-only.

Commit 64fe8df

Browse files
chore: fix ci
1 parent cb369d3 commit 64fe8df

1 file changed

Lines changed: 30 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,35 @@
11
name: Code Quality
22

33
on:
4-
push:
5-
branches: [ main, develop ]
6-
pull_request:
7-
branches: [ main ]
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main]
88

99
jobs:
10-
format-check:
11-
runs-on: ubuntu-latest
12-
13-
steps:
14-
- uses: actions/checkout@v4
15-
16-
- name: Set up JDK 17
17-
uses: actions/setup-java@v4
18-
with:
19-
java-version: '17'
20-
distribution: 'temurin'
21-
22-
- name: Setup Mill
23-
uses: jodersky/setup-mill@v0.2.3
24-
with:
25-
mill-version: 0.12.11
26-
27-
- name: Check Java formatting
28-
run: mill checkJavaFormat
29-
30-
- name: Compile code
31-
run: mill compile
32-
33-
- name: Run tests
34-
run: mill test
10+
format-check:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: "17"
20+
distribution: "temurin"
21+
22+
- uses: zhutmost/setup-mill@main
23+
with:
24+
mill-version: 0.12.11
25+
26+
- name: Check Java formatting
27+
run: mill checkJavaFormat
28+
# the server process is kept alive across steps,
29+
# so separate invocations of mill remain extremely fast!
30+
31+
- name: Compile
32+
run: mill compile
33+
34+
- name: Test
35+
run: mill test

0 commit comments

Comments
 (0)