File tree Expand file tree Collapse file tree 4 files changed +35
-7
lines changed Expand file tree Collapse file tree 4 files changed +35
-7
lines changed Original file line number Diff line number Diff line change 44 schedule :
55 - cron : 0 0 * * 0 # weekly
66 workflow_dispatch :
7-
7+ permissions :
8+ contents : write
9+ pull-requests : write
810jobs :
911 CompatHelper :
1012 runs-on : ubuntu-latest
1113 steps :
14+ - name : Check if Julia is already available in the PATH
15+ id : julia_in_path
16+ run : which julia
17+ continue-on-error : true
18+ - name : Install Julia, but only if it is not already available in the PATH
19+ uses : julia-actions/setup-julia@latest
20+ with :
21+ version : ' 1'
22+ # arch: ${{ runner.arch }}
23+ if : steps.julia_in_path.outcome != 'success'
1224 - name : " Add the General registry via Git"
1325 run : |
1426 import Pkg
3143 env :
3244 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3345 COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
46+
47+ # based on:
48+ # https://github.com/JuliaRegistries/CompatHelper.jl
Original file line number Diff line number Diff line change 1+ name : Spell Check
2+
3+ on : [pull_request]
4+
5+ jobs :
6+ typos-check :
7+ name : Spell Check with Typos
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout Actions Repository
11+ uses : actions/checkout@v4
12+ - name : Check spelling
13+ uses : crate-ci/typos@master
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ LazyGrids = "7031d0ef-c40d-4431-b2f8-61a8d2f650db"
99
1010[compat ]
1111FillArrays = " 1"
12- LazyGrids = " 0.4, 0.5"
12+ LazyGrids = " 0.4, 0.5, 1 "
1313MIRTjim = " 0.23"
1414julia = " 1.10"
1515
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ execute = isempty(ARGS) || ARGS[1] == "run"
22
33org, reps = :JuliaImageRecon , :ImageGeoms
44eval (:(using $ reps))
5- using Documenter
6- using Literate
5+ import Documenter
6+ import Literate
77
88# https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@example-block
99ENV [" GKSwstype" ] = " 100"
@@ -23,7 +23,7 @@ binder_root_url =
2323
2424
2525repo = eval (:($ reps))
26- DocMeta. setdocmeta! (repo, :DocTestSetup , :(using $ reps); recursive= true )
26+ Documenter . DocMeta. setdocmeta! (repo, :DocTestSetup , :(using $ reps); recursive= true )
2727
2828# preprocessing
2929inc1 = " include(\" ../../../inc/reproduce.jl\" )"
@@ -77,7 +77,7 @@ format = Documenter.HTML(;
7777 assets = [" assets/custom.css" ],
7878)
7979
80- makedocs (;
80+ Documenter . makedocs (;
8181 modules = [repo],
8282 authors = " Jeff Fessler and contributors" ,
8383 sitename = " $repo .jl" ,
@@ -90,7 +90,7 @@ makedocs(;
9090)
9191
9292if isci
93- deploydocs (;
93+ Documenter . deploydocs (;
9494 repo = " github.com/$base " ,
9595 devbranch = " main" ,
9696 devurl = " dev" ,
You can’t perform that action at this time.
0 commit comments