File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : tests
2+ on :
3+ push :
4+ branches :
5+ - trunk
6+ pull_request :
7+ workflow_dispatch :
8+ concurrency :
9+ # Skip intermediate builds: always.
10+ # Cancel intermediate builds: only if it is a pull request build.
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
13+ jobs :
14+ check-formatting :
15+ name : JuliaFormatter
16+ runs-on : ubuntu-latest
17+ timeout-minutes : 60
18+ permissions :
19+ actions : write
20+ contents : read
21+ strategy :
22+ fail-fast : false
23+ steps :
24+ - uses : actions/checkout@v6
25+ - uses : julia-actions/setup-julia@v2
26+ with :
27+ version : ' lts'
28+ arch : x64
29+ - uses : julia-actions/cache@v3
30+ - name : Install JuliaFormatter and check format
31+ run : |
32+ julia -e 'import Pkg; Pkg.add("JuliaFormatter")'
33+ julia -e 'using JuliaFormatter; isok = format("."); if isok exit(0) else exit(1) end'
34+
Original file line number Diff line number Diff line change 1- name : CI
1+ name : tests
22on :
33 push :
44 branches :
@@ -11,7 +11,7 @@ concurrency:
1111 group : ${{ github.workflow }}-${{ github.ref }}
1212 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1313jobs :
14- test :
14+ tests :
1515 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
1616 runs-on : ${{ matrix.os }}
1717 timeout-minutes : 60
4444 - uses : codecov/codecov-action@v5
4545 env :
4646 CODECOV_TOKEN : ${{ secrets.CODECOV_ORG_TOKEN }}
47- check-format :
48- name : JuliaFormat
49- runs-on : ubuntu-latest
50- timeout-minutes : 60
51- permissions :
52- actions : write
53- contents : read
54- strategy :
55- fail-fast : false
56- steps :
57- - uses : actions/checkout@v6
58- - uses : julia-actions/setup-julia@v2
59- with :
60- version : ' lts'
61- arch : x64
62- - uses : julia-actions/cache@v3
63- - name : Install JuliaFormatter and check format
64- run : |
65- julia -e 'import Pkg; Pkg.add("JuliaFormatter")'
66- julia -e 'using JuliaFormatter; isok = format("."); if isok exit(0) else exit(1) end'
6747
You can’t perform that action at this time.
0 commit comments