Skip to content

Commit 1a799fd

Browse files
committed
update github workflows
1 parent 3410c86 commit 1a799fd

File tree

3 files changed

+30
-30
lines changed

3 files changed

+30
-30
lines changed

.github/workflows/CompatHelper.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: which julia
1616
continue-on-error: true
1717
- 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
1919
with:
2020
version: '1'
2121
arch: ${{ runner.arch }}
@@ -42,4 +42,3 @@ jobs:
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
45-
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

.github/workflows/Documenter.yml

+18-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,34 @@
11
name: Documentation
2+
23
on:
34
push:
4-
branches: [master]
5-
tags: [v*]
5+
branches:
6+
- master
7+
tags: '*'
68
pull_request:
9+
710
jobs:
811
build:
912
permissions:
13+
actions: write
1014
contents: write
15+
pull-requests: read
16+
statuses: write
1117
runs-on: ubuntu-latest
1218
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
1521
with:
16-
version: '1.6'
22+
version: '1'
23+
- uses: julia-actions/cache@v2
1724
- 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()
1930
- name: Build and deploy
31+
run: julia --color=yes --project=docs docs/make.jl
2032
env:
2133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2234
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
23-
run: julia --project=docs/ docs/make.jl

.github/workflows/ci.yml

+11-21
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
branches:
66
- master
7-
tags: '*'
7+
tags:
8+
- '*'
89
jobs:
910
test:
1011
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -13,35 +14,24 @@ jobs:
1314
fail-fast: false
1415
matrix:
1516
version:
16-
- '1.6'
1717
- '1'
18-
- 'nightly'
18+
- 'lts'
19+
- 'min'
1920
os:
2021
- ubuntu-latest
21-
- macOS-latest
2222
- windows-latest
2323
arch:
2424
- x64
25+
include:
26+
- os: macOS-latest
27+
arch: aarch64
28+
version: 1
2529
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
2832
with:
2933
version: ${{ matrix.version }}
3034
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
4136
- uses: julia-actions/julia-buildpkg@v1
4237
- 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

0 commit comments

Comments
 (0)