Skip to content

Commit cc589e5

Browse files
committed
ci: use JuliaFormatter@v1
1 parent 4bd742b commit cc589e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/check-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
#
2929
# julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="0.13.0"))'
3030
run: |
31-
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))'
31+
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="1"))'
3232
julia -e 'using JuliaFormatter; format(".", verbose=true)'
3333
- name: Format check
3434
run: |

.github/workflows/fix-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- name: Install JuliaFormatter and format
1313
run: |
14-
julia -e 'import Pkg; Pkg.add("JuliaFormatter")'
14+
julia -e 'import Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="1"))'
1515
julia -e 'using JuliaFormatter; format(".")'
1616
1717
- name: Create Pull Request

0 commit comments

Comments
 (0)