Skip to content

Commit 7f70280

Browse files
committed
.
1 parent 1a5a7fb commit 7f70280

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'autofix.ci'
2+
on:
3+
pull_request:
4+
jobs:
5+
autofix:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
10+
- uses: coursier/setup-action@main
11+
with:
12+
jvm: temurin@17
13+
apps: scala-cli
14+
15+
- name: Cache Coursier
16+
uses: actions/cache@v4
17+
with:
18+
path: ~/.cache/coursier/v1
19+
key: coursier-${{ runner.os }}-${{ hashFiles('build.mill', '**/package.mill') }}
20+
restore-keys: coursier-${{ runner.os }}-
21+
22+
- name: Run autoformat
23+
run: ./mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources
24+
25+
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c

0 commit comments

Comments
 (0)