From f00461f8e29fe6e16c6da2b0eb825d8563d65832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20W=C3=BCrfel?= Date: Fri, 11 Jul 2025 14:22:14 +0200 Subject: [PATCH] bump makie version --- .github/workflows/CI.yml | 36 +++++++++++++++++++++++++++++++----- docs/Project.toml | 4 ++-- 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 19cddc4..e02dd02 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,6 +9,9 @@ jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} + permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created + actions: write + contents: read strategy: fail-fast: false matrix: @@ -26,22 +29,37 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v2 + - name: Load Julia packages from cache + id: julia-cache + uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v5 with: file: lcov.info + - name: Save Julia depot cache on cancel or failure + id: julia-cache-save + if: cancelled() || failure() + uses: actions/cache/save@v4 + with: + path: | + ${{ steps.julia-cache.outputs.cache-paths }} + key: ${{ steps.julia-cache.outputs.cache-key }} docs: name: Documentation runs-on: ubuntu-latest + permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created + actions: write + contents: read steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: '1' - - uses: julia-actions/cache@v2 + - name: Load Julia packages from cache + id: julia-cache + uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-docdeploy@v1 env: @@ -50,6 +68,14 @@ jobs: - run: | julia --project=docs -e ' using Documenter: DocMeta, doctest - using GraphMakie - DocMeta.setdocmeta!(GraphMakie, :DocTestSetup, :(using GraphMakie); recursive=true) - doctest(GraphMakie)' + using NetworkLayout + DocMeta.setdocmeta!(NetworkLayout, :DocTestSetup, :(using NetworkLayout); recursive=true) + doctest(NetworkLayout)' + - name: Save Julia depot cache on cancel or failure + id: julia-cache-save + if: cancelled() || failure() + uses: actions/cache/save@v4 + with: + path: | + ${{ steps.julia-cache.outputs.cache-paths }} + key: ${{ steps.julia-cache.outputs.cache-key }} diff --git a/docs/Project.toml b/docs/Project.toml index 022fda3..fdc03a2 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -8,9 +8,9 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" [compat] -CairoMakie = "0.13, 0.14" +CairoMakie = "0.15" Documenter = "1" -GraphMakie = "0.5" +GraphMakie = "0.6" Graphs = "1.9" NetworkLayout = "0.4" StableRNGs = "1.0.1"