Skip to content

Commit cdf9461

Browse files
committed
Try julia-format@v2
1 parent 37ce2dd commit cdf9461

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/code-style.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,8 @@ name: Format suggestions
33
on:
44
pull_request:
55

6-
concurrency:
7-
# Skip intermediate builds: always.
8-
# Cancel intermediate builds: only if it is a pull request build.
9-
group: ${{ github.workflow }}-${{ github.ref }}
10-
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
11-
126
jobs:
13-
format:
7+
code-style:
148
runs-on: ubuntu-latest
15-
env:
16-
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_TOKEN }}
179
steps:
18-
- uses: actions/checkout@v4
19-
- uses: julia-actions/setup-julia@v1
20-
- run: |
21-
julia --color=yes -e 'using Pkg; Pkg.add("JuliaFormatter")'
22-
julia --color=yes -e 'using JuliaFormatter; format("."; verbose=true)'
23-
- uses: reviewdog/action-suggester@v1
24-
with:
25-
tool_name: JuliaFormatter
26-
github_token: ${{ secrets.github_token }}
27-
fail_on_error: true
28-
filter_mode: added
10+
- uses: julia-actions/julia-format@v2

0 commit comments

Comments
 (0)