Skip to content

Commit 576a330

Browse files
Merge pull request #227 from invenia/massinstallaction/set-up-BlueStyleFormatter
MassInstallAction: Install the BlueStyleFormatter workflow on this repository
2 parents f1fe4c4 + af449c7 commit 576a330

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Format suggestions
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
format:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: julia-actions/setup-julia@latest
12+
with:
13+
version: 1
14+
- run: |
15+
julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
16+
julia -e 'using JuliaFormatter; format(".", BlueStyle(); verbose=true)'
17+
- uses: reviewdog/action-suggester@v1
18+
with:
19+
tool_name: JuliaFormatter
20+
fail_on_error: true

0 commit comments

Comments
 (0)