File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 1- name : Code style
1+ name : Format suggestions
22
33on :
44 pull_request :
55
6+ concurrency :
7+ # Skip intermediate builds: always.
8+ # Cancel intermediate builds: only if it is a pull request build.
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
11+
612jobs :
7- code-style :
13+ format :
814 runs-on : ubuntu-latest
915 steps :
10- - uses : tkf/julia-code-style-suggesters@v1
16+ - uses : actions/checkout@v2
17+ - uses : julia-actions/setup-julia@latest
18+ with :
19+ version : 1
20+ - run : |
21+ julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
22+ julia -e 'using JuliaFormatter; format("."; verbose=true)'
23+ - uses : reviewdog/action-suggester@v1
24+ with :
25+ tool_name : JuliaFormatter
26+ fail_on_error : true
27+ filter_mode : added
You can’t perform that action at this time.
0 commit comments