From 844afb1f54e7bd35f3ab5bd81680097613370990 Mon Sep 17 00:00:00 2001 From: Valentin Kaisermayer Date: Wed, 18 Dec 2024 09:13:42 +0100 Subject: [PATCH] fix --- .github/workflows/CI.yml | 4 ++-- .github/workflows/DocCleanup.yml | 16 ++++++++-------- .github/workflows/FormatCheck.yml | 3 ++- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cf4e6638..682f4e0d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -24,7 +24,7 @@ jobs: - x64 steps: - - uses: actions/checkout@latest + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.version }} @@ -53,7 +53,7 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: "1" diff --git a/.github/workflows/DocCleanup.yml b/.github/workflows/DocCleanup.yml index 15680241..f315740e 100644 --- a/.github/workflows/DocCleanup.yml +++ b/.github/workflows/DocCleanup.yml @@ -9,20 +9,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout gh-pages branch - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: gh-pages - name: Delete preview and history run: | - git config user.name "Documenter.jl" - git config user.email "documenter@juliadocs.github.io" - git rm -rf "previews/PR$PRNUM" - git commit -m "delete preview" - git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree}) + git config user.name "Documenter.jl" + git config user.email "documenter@juliadocs.github.io" + git rm -rf "previews/PR$PRNUM" + git commit -m "delete preview" + git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree}) env: - PRNUM: ${{ github.event.number }} + PRNUM: ${{ github.event.number }} - name: Push changes run: | - git push --force origin gh-pages-new:gh-pages + git push --force origin gh-pages-new:gh-pages diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 049a0754..d062a7a7 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -22,10 +22,11 @@ jobs: uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }} + arch: ${{ matrix.julia-arch }} # Step 2: Check out code - name: Checkout code - uses: actions/checkout@latest + uses: actions/checkout@v4 # Step 3: Install JuliaFormatter and check formatting - name: Install JuliaFormatter and check formatting