File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ style = " blue"
Original file line number Diff line number Diff line change 1+ name : Format suggestions
2+
3+ on :
4+ pull_request :
5+
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+
12+ jobs :
13+ format :
14+ runs-on : ubuntu-latest
15+ steps :
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