Skip to content

Commit 91a943c

Browse files
authored
Merge pull request #87 from JuliaGraphs/hw/bumpmakie
bump makie version
2 parents 0577943 + f00461f commit 91a943c

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
lines changed

.github/workflows/CI.yml

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
test:
1010
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1111
runs-on: ${{ matrix.os }}
12+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
13+
actions: write
14+
contents: read
1215
strategy:
1316
fail-fast: false
1417
matrix:
@@ -26,22 +29,37 @@ jobs:
2629
with:
2730
version: ${{ matrix.version }}
2831
arch: ${{ matrix.arch }}
29-
- uses: julia-actions/cache@v2
32+
- name: Load Julia packages from cache
33+
id: julia-cache
34+
uses: julia-actions/cache@v2
3035
- uses: julia-actions/julia-buildpkg@v1
3136
- uses: julia-actions/julia-runtest@v1
3237
- uses: julia-actions/julia-processcoverage@v1
3338
- uses: codecov/codecov-action@v5
3439
with:
3540
file: lcov.info
41+
- name: Save Julia depot cache on cancel or failure
42+
id: julia-cache-save
43+
if: cancelled() || failure()
44+
uses: actions/cache/save@v4
45+
with:
46+
path: |
47+
${{ steps.julia-cache.outputs.cache-paths }}
48+
key: ${{ steps.julia-cache.outputs.cache-key }}
3649
docs:
3750
name: Documentation
3851
runs-on: ubuntu-latest
52+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
53+
actions: write
54+
contents: read
3955
steps:
4056
- uses: actions/checkout@v4
4157
- uses: julia-actions/setup-julia@v2
4258
with:
4359
version: '1'
44-
- uses: julia-actions/cache@v2
60+
- name: Load Julia packages from cache
61+
id: julia-cache
62+
uses: julia-actions/cache@v2
4563
- uses: julia-actions/julia-buildpkg@v1
4664
- uses: julia-actions/julia-docdeploy@v1
4765
env:
@@ -50,6 +68,14 @@ jobs:
5068
- run: |
5169
julia --project=docs -e '
5270
using Documenter: DocMeta, doctest
53-
using GraphMakie
54-
DocMeta.setdocmeta!(GraphMakie, :DocTestSetup, :(using GraphMakie); recursive=true)
55-
doctest(GraphMakie)'
71+
using NetworkLayout
72+
DocMeta.setdocmeta!(NetworkLayout, :DocTestSetup, :(using NetworkLayout); recursive=true)
73+
doctest(NetworkLayout)'
74+
- name: Save Julia depot cache on cancel or failure
75+
id: julia-cache-save
76+
if: cancelled() || failure()
77+
uses: actions/cache/save@v4
78+
with:
79+
path: |
80+
${{ steps.julia-cache.outputs.cache-paths }}
81+
key: ${{ steps.julia-cache.outputs.cache-key }}

docs/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
88
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
99

1010
[compat]
11-
CairoMakie = "0.13, 0.14"
11+
CairoMakie = "0.15"
1212
Documenter = "1"
13-
GraphMakie = "0.5"
13+
GraphMakie = "0.6"
1414
Graphs = "1.9"
1515
NetworkLayout = "0.4"
1616
StableRNGs = "1.0.1"

0 commit comments

Comments
 (0)