Skip to content

Commit 1f36952

Browse files
authored
Use tkf/julia-code-style-suggesters@v1 (#18)
1 parent 165437f commit 1f36952

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.JuliaFormatter.toml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
always_for_in = true

.github/workflows/ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,17 @@ jobs:
3131
flags: Pkg.test
3232
name: codecov-umbrella
3333

34+
# https://github.com/tkf/julia-code-style-suggesters
35+
code-style:
36+
if: always() && github.event.pull_request
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: tkf/julia-code-style-suggesters@v1
40+
3441
# A job that succeeds if and only if all jobs succeed.
3542
all-success:
3643
if: always() && github.event.pull_request
37-
needs: test
44+
needs: [test, code-style]
3845
runs-on: ubuntu-latest
3946
steps:
4047
# https://github.com/tkf/merge-conclusions-action

0 commit comments

Comments
 (0)