Skip to content

Commit 8c145c1

Browse files
authored
ci: pin juliaformatter to 2.4.0 in format workflows (#614)
1 parent 482530b commit 8c145c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/check-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: julia-actions/cache@v3
2626
- name: Install JuliaFormatter and format
2727
run: |
28-
julia --startup-file=no -e 'using Pkg; pkg"activate --temp"; pkg"add JuliaFormatter@2"; using JuliaFormatter; format("."; verbose=true)'
28+
julia --startup-file=no -e 'using Pkg; pkg"activate --temp"; pkg"add JuliaFormatter@2.4.0"; using JuliaFormatter; format("."; verbose=true)'
2929
- name: "Format check"
3030
run: |
3131
julia -e '

.github/workflows/fix-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: julia-actions/cache@v3
2121
- name: "Install JuliaFormatter and format"
2222
run: |
23-
julia -e 'using Pkg; pkg"add JuliaFormatter@1.0.61"'
23+
julia -e 'using Pkg; pkg"add JuliaFormatter@2.4.0"'
2424
julia -e 'using JuliaFormatter; format(".")'
2525
- name: "Create Pull Request"
2626
id: cpr

0 commit comments

Comments
 (0)