File tree Expand file tree Collapse file tree 1 file changed +8
-24
lines changed
Expand file tree Collapse file tree 1 file changed +8
-24
lines changed Original file line number Diff line number Diff line change 1- name : FormatCheck
1+ name : " Format Check "
22
33on :
44 push :
55 branches :
6+ - ' main'
67 - ' master'
78 tags : ' *'
89 pull_request :
9- branches :
10- - ' master'
11- jobs :
12- build :
13- runs-on : ${{ matrix.os }}
14- strategy :
15- matrix :
16- version :
17- - ' 1' # automatically expands to the latest stable 1.x release of Julia
18- os :
19- - ubuntu-latest
20- arch :
21- - x64
22- steps :
23- - uses : julia-actions/setup-julia@latest
24- with :
25- version : ${{ matrix.version }}
26- arch : ${{ matrix.arch }}
2710
28- - uses : actions/checkout@v4
29- - name : Install JuliaFormatter and format
30- run : |
31- julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))'
32- julia -e 'using JuliaFormatter; format(".", verbose=true)'
11+ jobs :
12+ format-check :
13+ name : " Format Check"
14+ uses : " QuantumKitHub/.github/.github/workflows/formatcheck.yml@main"
15+ with :
16+ juliaformatter-version : " 2"
You can’t perform that action at this time.
0 commit comments