From 57b386cc85dca2f189792a8ecd23ba223b516f11 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Fri, 17 May 2024 16:15:53 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20Update=20action=20versi?= =?UTF-8?q?ons=20in=20the=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: #52 --- .github/workflows/Copier.yml | 2 +- .github/workflows/Docs.yml | 2 +- .github/workflows/Lint.yml | 2 +- .github/workflows/Test.yml | 2 +- template/.github/workflows/CompatHelper.yml | 2 +- template/.github/workflows/Copier.yml.jinja | 8 ++++---- template/.github/workflows/Docs.yml.jinja | 4 ++-- template/.github/workflows/Lint.yml | 8 ++++---- template/.github/workflows/Test.yml.jinja | 8 ++++---- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/Copier.yml b/.github/workflows/Copier.yml index b553a170..6240817e 100644 --- a/.github/workflows/Copier.yml +++ b/.github/workflows/Copier.yml @@ -9,7 +9,7 @@ jobs: Copier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.COPIER_PAT }} - uses: julia-actions/setup-julia@v2 diff --git a/.github/workflows/Docs.yml b/.github/workflows/Docs.yml index 915e9b64..946e5de5 100644 --- a/.github/workflows/Docs.yml +++ b/.github/workflows/Docs.yml @@ -29,7 +29,7 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: "1" diff --git a/.github/workflows/Lint.yml b/.github/workflows/Lint.yml index 813f139d..7e1397b8 100644 --- a/.github/workflows/Lint.yml +++ b/.github/workflows/Lint.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Julia uses: julia-actions/setup-julia@v2 with: diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 8c46c139..28996c3f 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -43,7 +43,7 @@ jobs: - x64 allow_failure: [false] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} diff --git a/template/.github/workflows/CompatHelper.yml b/template/.github/workflows/CompatHelper.yml index 7825cfe7..34613bb7 100644 --- a/template/.github/workflows/CompatHelper.yml +++ b/template/.github/workflows/CompatHelper.yml @@ -19,7 +19,7 @@ jobs: run: which julia continue-on-error: true - name: Install Julia, but only if it is not already available in the PATH - uses: julia-actions/setup-julia@v1 + uses: julia-actions/setup-julia@v2 with: version: "1" arch: ${{ runner.arch }} diff --git a/template/.github/workflows/Copier.yml.jinja b/template/.github/workflows/Copier.yml.jinja index dc34bd5b..1b30a213 100644 --- a/template/.github/workflows/Copier.yml.jinja +++ b/template/.github/workflows/Copier.yml.jinja @@ -9,18 +9,18 @@ jobs: Copier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.COPIER_PAT }} - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@v2 with: version: "1" - name: Use Julia cache - uses: julia-actions/cache@v1 + uses: julia-actions/cache@v2 - name: Install JuliaFormatter.jl run: julia -e 'using Pkg; pkg"add JuliaFormatter"' - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 - name: Check for update in the template run: | pip install copier diff --git a/template/.github/workflows/Docs.yml.jinja b/template/.github/workflows/Docs.yml.jinja index 9d6cf9cc..0350de91 100644 --- a/template/.github/workflows/Docs.yml.jinja +++ b/template/.github/workflows/Docs.yml.jinja @@ -29,8 +29,8 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: "1" - run: | diff --git a/template/.github/workflows/Lint.yml b/template/.github/workflows/Lint.yml index c9f779b6..7e1397b8 100644 --- a/template/.github/workflows/Lint.yml +++ b/template/.github/workflows/Lint.yml @@ -19,17 +19,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Julia - uses: julia-actions/setup-julia@v1 + uses: julia-actions/setup-julia@v2 with: version: "1" - name: Use Julia cache - uses: julia-actions/cache@v1 + uses: julia-actions/cache@v2 - name: Install JuliaFormatter.jl run: julia -e 'using Pkg; pkg"add JuliaFormatter"' - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 - name: Install pre-commit run: pip install pre-commit - name: Run pre-commit diff --git a/template/.github/workflows/Test.yml.jinja b/template/.github/workflows/Test.yml.jinja index fbf3f5c7..c68631e1 100644 --- a/template/.github/workflows/Test.yml.jinja +++ b/template/.github/workflows/Test.yml.jinja @@ -55,12 +55,12 @@ jobs: {% if not AddWinToCI %}#{% endif %} arch: x64 {% if not AddWinToCI %}#{% endif %} allow_failure: true{% endif %} steps: - - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 {% raw %}with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v4 env: cache-name: cache-artifacts with: @@ -73,6 +73,6 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: file: lcov.info