Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed May 5, 2024
1 parent daf7201 commit a73d1c7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install JuliaFormatter and format
shell: julia --project=@. --color=yes {0}
run: |
using Pkg
Pkg.activate(; temp=true)
Pkg.add("JuliaFormatter")
using JuliaFormatter
format(".", verbose=true)
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))'
julia -e 'using JuliaFormatter; format(".", verbose=true)'
- name: Format check
run: |
julia -e '
Expand Down

0 comments on commit a73d1c7

Please sign in to comment.