We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb949e commit c3888ffCopy full SHA for c3888ff
.github/workflows/Format.yml
@@ -1,8 +1,11 @@
1
-name: Format suggestions
+name: Format
2
3
on:
4
+ push:
5
+ branches:
6
+ - main
7
pull_request:
-
8
+
9
concurrency:
10
# Skip intermediate builds: always.
11
# Cancel intermediate builds: only if it is a pull request build.
@@ -12,15 +15,7 @@ concurrency:
12
15
jobs:
13
16
format:
14
17
runs-on: ubuntu-latest
18
19
steps:
- - uses: actions/checkout@v4
- - uses: julia-actions/setup-julia@v2
- with:
- version: 1
20
- - run: |
21
- julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
22
- julia -e 'using JuliaFormatter; format("."; verbose=true)'
23
- - uses: reviewdog/action-suggester@v1
24
25
- tool_name: JuliaFormatter
26
- fail_on_error: true
+ - name: Format code
+ uses: TuringLang/actions/Format@main
0 commit comments