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 5242b79 commit d14df00Copy full SHA for d14df00
.github/workflows/Format.yml
@@ -0,0 +1,26 @@
1
+name: Format suggestions
2
+
3
+on:
4
+ pull_request:
5
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
12
+jobs:
13
+ format:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: julia-actions/setup-julia@v2
18
+ with:
19
+ 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
0 commit comments