Skip to content

Commit 976ec33

Browse files
Update CI and documenter builds
- Bump versions for actions - Add `julia-actions/cache` - Update julia version's to new target minimum Julia
1 parent 51b2f7f commit 976ec33

File tree

2 files changed

+9
-16
lines changed

2 files changed

+9
-16
lines changed

.github/workflows/documenter.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: julia-actions/setup-julia@latest
1616
with:
17-
version: '1.6'
17+
version: '1.10'
18+
- uses: julia-actions/cache@v2
19+
- uses: julia-actions/julia-buildpkg@v1
1820
- name: Install dependencies
1921
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2022
- name: Build and deploy
2123
env:
2224
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
2325
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
24-
run: julia --project=docs/ docs/make.jl
26+
run: julia --project=docs/ docs/make.jl

.github/workflows/tests.yml

+5-14
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,23 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
version:
18-
- '1.6' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
18+
- '1.10' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
1919
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
2020
- 'nightly'
2121
os:
2222
- ubuntu-latest
2323
arch:
2424
- x64
2525
steps:
26-
- uses: actions/checkout@v2
27-
- uses: julia-actions/setup-julia@v1
26+
- uses: actions/checkout@v4
27+
- uses: julia-actions/setup-julia@v2
2828
with:
2929
version: ${{ matrix.version }}
3030
arch: ${{ matrix.arch }}
31-
- uses: actions/setup-node@v2
31+
- uses: actions/setup-node@v4
3232
with:
3333
node-version: '16'
34-
- uses: actions/cache@v1
35-
env:
36-
cache-name: cache-artifacts
37-
with:
38-
path: ~/.julia/artifacts
39-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
40-
restore-keys: |
41-
${{ runner.os }}-test-${{ env.cache-name }}-
42-
${{ runner.os }}-test-
43-
${{ runner.os }}-
34+
- uses: julia-actions/cache@v2
4435
- uses: julia-actions/julia-buildpkg@v1
4536
- uses: julia-actions/julia-runtest@v1
4637
with:

0 commit comments

Comments
 (0)