Skip to content

Commit 16b1301

Browse files
committed
Add format github action
1 parent c75e036 commit 16b1301

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/Format.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Format suggestions
2+
on:
3+
pull_request:
4+
# this argument is not required if you don't use the `suggestion-label` input
5+
types: [opened, reopened, synchronize, labeled, unlabeled]
6+
jobs:
7+
code-style:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: julia-actions/julia-format@v3
11+
with:
12+
version: "1" # Set `version` to '1.0.54' if you need to use JuliaFormatter.jl v1.0.54 (default: '1')
13+
suggestion-label: "format-suggest" # leave this unset or empty to show suggestions for all PRs

0 commit comments

Comments
 (0)