File tree Expand file tree Collapse file tree 1 file changed +5
-30
lines changed Expand file tree Collapse file tree 1 file changed +5
-30
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
format :
10
- runs-on : ubuntu-24.04
11
- timeout-minutes : 30
10
+ runs-on : ubuntu-latest
12
11
steps :
13
- - name : Cancel Previous Runs
14
-
15
- with :
16
- access_token : ${{ github.token }}
17
-
18
- - uses : actions/checkout@v4
19
-
20
-
21
- id : filter
22
- with :
23
- filters : |
24
- julia_file_change:
25
- - added|modified: '**.jl'
26
-
27
- - uses : julia-actions/setup-julia@v2
28
- if : steps.filter.outputs.julia_file_change == 'true'
29
- with :
30
- version : ' 1.10'
31
-
32
- - name : Apply JuliaFormatter
33
- if : steps.filter.outputs.julia_file_change == 'true'
34
- run : |
35
- julia --color=yes --project=.dev .dev/climaformat.jl --verbose .
36
-
37
- - name : Check formatting diff
38
- if : steps.filter.outputs.julia_file_change == 'true'
39
- run : |
40
- git diff --color=always --exit-code
12
+ - uses : julia-actions/julia-format@v3
13
+ with :
14
+ version : ' 1' # Set `version` to '1.0.54' if you need to use JuliaFormatter.jl v1.0.54 (default: '1')
15
+ suggestion-label : ' format-suggest' # leave this unset or empty to show suggestions for all PRs
You can’t perform that action at this time.
0 commit comments