15
15
fail-fast : false
16
16
matrix :
17
17
version :
18
- - 1.0.5
19
- - 1.3
20
- - 1
18
+ - " 1.0" # LTS
19
+ - " 1.5 " # Invenia Prod Version
20
+ - " 1 " # Latest Release
21
21
os :
22
22
- ubuntu-latest
23
23
arch :
@@ -29,20 +29,18 @@ jobs:
29
29
with :
30
30
version : ${{ matrix.version }}
31
31
arch : ${{ matrix.arch }}
32
- - uses : actions/cache@v1
32
+ - uses : actions/cache@v2
33
33
env :
34
34
cache-name : cache-artifacts
35
35
with :
36
36
path : ~/.julia/artifacts
37
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37
+ key : ${{ runner.os }}-${{ matrix.arch }}- test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
38
38
restore-keys : |
39
- ${{ runner.os }}-test-${{ env.cache-name }}-
40
- ${{ runner.os }}-test-
39
+ ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-
40
+ ${{ runner.os }}-${{ matrix.arch }}-test-
41
+ ${{ runner.os }}-${{ matrix.arch }}-
41
42
${{ runner.os }}-
42
43
- uses : julia-actions/julia-buildpkg@latest
43
- - run : |
44
- git config --global user.name Tester
45
- git config --global user.email [email protected]
46
44
- uses : julia-actions/julia-runtest@latest
47
45
- uses : julia-actions/julia-processcoverage@v1
48
46
- uses : codecov/codecov-action@v1
@@ -53,13 +51,13 @@ jobs:
53
51
name : Notify Slack Failure
54
52
needs : test
55
53
runs-on : ubuntu-latest
56
- if : github.event == 'schedule'
54
+ if : always() && github.event_name == 'schedule'
57
55
steps :
58
56
- uses : technote-space/workflow-conclusion-action@v2
59
57
- uses : voxmedia/github-action-slack-notify-build@v1
60
58
if : env.WORKFLOW_CONCLUSION == 'failure'
61
59
with :
62
- channel : nightly-dev
60
+ channel : nightly-rse
63
61
status : FAILED
64
62
color : danger
65
63
env :
@@ -73,16 +71,12 @@ jobs:
73
71
- uses : julia-actions/setup-julia@v1
74
72
with :
75
73
version : ' 1'
76
- - run : |
77
- git config --global user.name name
78
- git config --global user.email email
79
- git config --global github.user username
80
74
- run : |
81
75
julia --project=docs -e '
82
- using Pkg;
83
- Pkg.develop(PackageSpec(path=pwd()));
84
- Pkg.instantiate();
85
- include("docs/make.jl"); '
76
+ using Pkg
77
+ Pkg.develop(PackageSpec(path=pwd()))
78
+ Pkg.instantiate()
79
+ include("docs/make.jl")'
86
80
env:
87
81
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88
82
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
0 commit comments