From f7279d7a8d2d361f54ad3b67c9100b8613627c20 Mon Sep 17 00:00:00 2001 From: PoAn Yang Date: Sat, 17 Feb 2024 13:17:42 +0800 Subject: [PATCH] fix(workflows): change actions version * change actions/checkout@4 to actions/checkout@v4 * change actions/setup-python@4 to actions/setup-python@v5 Signed-off-by: PoAn Yang --- .../.github/workflows/python-check.yaml | 4 ++-- .../.github/workflows/python-publish.yaml | 4 ++-- .../workflows/{{cookiecutter.default_branch}}-updated.yaml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.github/workflows/python-check.yaml b/{{cookiecutter.project_slug}}/.github/workflows/python-check.yaml index 1289265..71a19a2 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/python-check.yaml +++ b/{{cookiecutter.project_slug}}/.github/workflows/python-check.yaml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out - uses: actions/checkout@4 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python {{ cookiecutter.python_version }} - uses: actions/setup-python@4 + uses: actions/setup-python@v5 with: python-version: "{{ cookiecutter.python_version }}" diff --git a/{{cookiecutter.project_slug}}/.github/workflows/python-publish.yaml b/{{cookiecutter.project_slug}}/.github/workflows/python-publish.yaml index c9bc14e..c5c4efd 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/python-publish.yaml +++ b/{{cookiecutter.project_slug}}/.github/workflows/python-publish.yaml @@ -9,10 +9,10 @@ jobs: publish-pypi-package: runs-on: ubuntu-latest steps: - - uses: actions/checkout@4 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@m4 + uses: actions/setup-python@v5 with: python-version: "{{ cookiecutter.python_version }}" diff --git a/{{cookiecutter.project_slug}}/.github/workflows/{{cookiecutter.default_branch}}-updated.yaml b/{{cookiecutter.project_slug}}/.github/workflows/{{cookiecutter.default_branch}}-updated.yaml index 525432a..56f885e 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/{{cookiecutter.default_branch}}-updated.yaml +++ b/{{cookiecutter.project_slug}}/.github/workflows/{{cookiecutter.default_branch}}-updated.yaml @@ -12,7 +12,7 @@ jobs: name: "Bump version and create changelog with commitizen" steps: - name: Check out - uses: actions/checkout@4 + uses: actions/checkout@v4 with: token: {% raw %}${{ secrets.PERSONAL_ACCESS_TOKEN }}{% endraw %} fetch-depth: 0 @@ -28,13 +28,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out - uses: actions/checkout@4 + uses: actions/checkout@v4 with: token: {% raw %}${{ secrets.PERSONAL_ACCESS_TOKEN }}{% endraw %} fetch-depth: 0 - name: Set up Python {{ cookiecutter.python_version }} - uses: actions/setup-python@4 + uses: actions/setup-python@v5 with: python-version: "{{ cookiecutter.python_version }}"