diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8ac306d81..8fb2a0f41 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -13,7 +13,7 @@ jobs: name: Build docs runs-on: ubuntu-latest steps: - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 - uses: actions/checkout@v4 with: fetch-depth: 0 # otherwise, you will failed to push refs to dest repo diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 904832d9b..00d7f3c5f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -27,7 +27,7 @@ jobs: with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ env.PYTHON_LATEST }} cache: pip @@ -85,7 +85,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} cache: pip @@ -124,7 +124,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 with: python-version: pypy3.11 cache: pip @@ -162,7 +162,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 with: python-version: '3.12' cache: pip @@ -236,7 +236,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 with: python-version: '3.12' cache: pip @@ -297,7 +297,7 @@ jobs: name: Checkout source repository with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v7 - name: Build sdist # Use `python -m build`, not the deprecated `setup.py sdist`, so the # sdist is named with the normalized project name