From e73421e306cb438ed89e005426cacdb6c26d2203 Mon Sep 17 00:00:00 2001 From: Se Eun Choi Date: Fri, 3 Jul 2026 19:15:17 +0200 Subject: [PATCH 1/2] documentation.yml --- .github/workflows/documentation.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 20325f9..6091846 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@latest + - uses: julia-actions/setup-julia@v3 with: version: "1" @@ -35,16 +35,18 @@ jobs: run: julia --project=docs docs/make.jl - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v6 - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@v5 with: path: docs/build deploy: if: github.event_name == 'push' && github.ref == 'refs/heads/main' - needs: build + needs: + - build + - run_tests permissions: pages: write id-token: write From 3f15c8f4c031221229c534dde2639676fb1f426b Mon Sep 17 00:00:00 2001 From: Se Eun Choi Date: Fri, 3 Jul 2026 19:32:00 +0200 Subject: [PATCH 2/2] fix doc/build --- .github/workflows/documentation.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 6091846..1c9d793 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -17,8 +17,27 @@ concurrency: cancel-in-progress: false jobs: + run_tests: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + + - uses: julia-actions/setup-julia@v3 + with: + version: "1" + + - uses: julia-actions/cache@v3 + + - name: Instantiate package environment + run: julia --project=. -e 'using Pkg; Pkg.instantiate()' + + - name: Run tests + run: julia --project=. -e 'using Pkg; Pkg.test()' + build: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v6 @@ -44,16 +63,21 @@ jobs: deploy: if: github.event_name == 'push' && github.ref == 'refs/heads/main' - needs: - - build + + needs: - run_tests + - build + permissions: pages: write id-token: write + environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: - id: deployment uses: actions/deploy-pages@v5 \ No newline at end of file