Skip to content

Commit

Permalink
Update CI (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed May 21, 2021
1 parent 313aa54 commit 31bacdb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/Format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: 1
- run: |
julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
julia -e 'using JuliaFormatter; format("."; verbose=true)'
- name: Install JuliaFormatter and format code
run: |
using Pkg: Pkg
Pkg.add(; name="JuliaFormatter", uuid="98e50ef6-434e-11e9-1051-2b60c6c9e899")
using JuliaFormatter
format("."; verbose=true)
shell: julia --color=yes {0}
- uses: reviewdog/action-suggester@v1
with:
tool_name: JuliaFormatter
Expand Down

0 comments on commit 31bacdb

Please sign in to comment.