File tree 3 files changed +30
-30
lines changed
3 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 15
15
run : which julia
16
16
continue-on-error : true
17
17
- name : Install Julia, but only if it is not already available in the PATH
18
- uses : julia-actions/setup-julia@v1
18
+ uses : julia-actions/setup-julia@v2
19
19
with :
20
20
version : ' 1'
21
21
arch : ${{ runner.arch }}
42
42
env :
43
43
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
44
COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
45
- # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
Original file line number Diff line number Diff line change 1
1
name : Documentation
2
+
2
3
on :
3
4
push :
4
- branches : [master]
5
- tags : [v*]
5
+ branches :
6
+ - master
7
+ tags : ' *'
6
8
pull_request :
9
+
7
10
jobs :
8
11
build :
9
12
permissions :
13
+ actions : write
10
14
contents : write
15
+ pull-requests : read
16
+ statuses : write
11
17
runs-on : ubuntu-latest
12
18
steps :
13
- - uses : actions/checkout@v2
14
- - uses : julia-actions/setup-julia@v1
19
+ - uses : actions/checkout@v4
20
+ - uses : julia-actions/setup-julia@v2
15
21
with :
16
- version : ' 1.6'
22
+ version : ' 1'
23
+ - uses : julia-actions/cache@v2
17
24
- name : Install dependencies
18
- run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
25
+ shell : julia --color=yes --project=docs {0}
26
+ run : |
27
+ using Pkg
28
+ Pkg.develop(PackageSpec(path=pwd()))
29
+ Pkg.instantiate()
19
30
- name : Build and deploy
31
+ run : julia --color=yes --project=docs docs/make.jl
20
32
env :
21
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
34
DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
23
- run : julia --project=docs/ docs/make.jl
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
- tags : ' *'
7
+ tags :
8
+ - ' *'
8
9
jobs :
9
10
test :
10
11
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -13,35 +14,24 @@ jobs:
13
14
fail-fast : false
14
15
matrix :
15
16
version :
16
- - ' 1.6'
17
17
- ' 1'
18
- - ' nightly'
18
+ - ' lts'
19
+ - ' min'
19
20
os :
20
21
- ubuntu-latest
21
- - macOS-latest
22
22
- windows-latest
23
23
arch :
24
24
- x64
25
+ include :
26
+ - os : macOS-latest
27
+ arch : aarch64
28
+ version : 1
25
29
steps :
26
- - uses : actions/checkout@v2
27
- - uses : julia-actions/setup-julia@v1
30
+ - uses : actions/checkout@v4
31
+ - uses : julia-actions/setup-julia@v2
28
32
with :
29
33
version : ${{ matrix.version }}
30
34
arch : ${{ matrix.arch }}
31
- - uses : actions/cache@v1
32
- env :
33
- cache-name : cache-artifacts
34
- with :
35
- path : ~/.julia/artifacts
36
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37
- restore-keys : |
38
- ${{ runner.os }}-test-${{ env.cache-name }}-
39
- ${{ runner.os }}-test-
40
- ${{ runner.os }}-
35
+ - uses : julia-actions/cache@v2
41
36
- uses : julia-actions/julia-buildpkg@v1
42
37
- uses : julia-actions/julia-runtest@v1
43
- continue-on-error : ${{ matrix.version == 'nightly' }}
44
- - uses : julia-actions/julia-processcoverage@v1
45
- - uses : codecov/codecov-action@v1
46
- with :
47
- file : lcov.info
You can’t perform that action at this time.
0 commit comments