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 0c5eec2 commit 07c88bcCopy full SHA for 07c88bc
.github/workflows/Format.yml
@@ -1,6 +1,9 @@
1
name: Format
2
3
on:
4
+ push:
5
+ branches:
6
+ - main
7
pull_request:
8
9
concurrency:
@@ -12,20 +15,7 @@ concurrency:
12
15
jobs:
13
16
format:
14
17
runs-on: ubuntu-latest
18
+
19
steps:
- - uses: actions/checkout@v2
- - uses: julia-actions/setup-julia@latest
- with:
- version: 1
20
- name: Format code
21
- run: |
22
- using Pkg
23
- Pkg.add(; name="JuliaFormatter", uuid="98e50ef6-434e-11e9-1051-2b60c6c9e899")
24
- using JuliaFormatter
25
- format("."; verbose=true)
26
- shell: julia --color=yes {0}
27
- - uses: reviewdog/action-suggester@v1
28
- if: github.event_name == 'pull_request'
29
30
- tool_name: JuliaFormatter
31
- fail_on_error: true
+ uses: TuringLang/actions/Format@main
0 commit comments