Skip to content

Commit 2a16e45

Browse files
authored
Use scala-cli fmt when checking formatting on the CI (#184)
1 parent 9d24ff4 commit 2a16e45

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,12 @@ jobs:
171171
timeout-minutes: 15
172172
runs-on: ubuntu-24.04
173173
steps:
174-
- uses: actions/checkout@v3
175-
with:
176-
fetch-depth: 0
177-
submodules: true
178-
- uses: coursier/[email protected]
179-
- uses: coursier/setup-action@v1
180-
with:
181-
jvm: "temurin:17"
182-
apps: scalafmt:3.0.0
183-
- run: scalafmt --check
174+
- uses: actions/checkout@v4
175+
with:
176+
fetch-depth: 0
177+
submodules: true
178+
- uses: VirtusLab/scala-cli-setup@v1
179+
- run: scala-cli fmt . --check
184180

185181
publish:
186182
needs: [format, jvm-tests, native-tests, native-static-tests, native-mostly-static-tests]

0 commit comments

Comments
 (0)