From 33f27585a89221e445de3b0e9a0e4e57f1cf33a1 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Sat, 23 Nov 2024 01:52:48 +0000 Subject: [PATCH] Updating to latest versions of actions --- .github/workflows/PyPi.yml | 6 +++--- .github/workflows/TestPyPi.yml | 6 +++--- .github/workflows/ci.yml | 6 +++--- .github/workflows/docs.yml | 6 +++--- .github/workflows/recipes.yml | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/PyPi.yml b/.github/workflows/PyPi.yml index 83b97d9..20ce635 100644 --- a/.github/workflows/PyPi.yml +++ b/.github/workflows/PyPi.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -25,6 +25,6 @@ jobs: run: python -m build --sdist --wheel --outdir dist/ - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.8 + uses: pypa/gh-action-pypi-publish@v1.12.2 with: password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/TestPyPi.yml b/.github/workflows/TestPyPi.yml index aa51a55..6431923 100644 --- a/.github/workflows/TestPyPi.yml +++ b/.github/workflows/TestPyPi.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -26,7 +26,7 @@ jobs: - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@v1.8.8 + uses: pypa/gh-action-pypi-publish@v1.12.2 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6af11d8..81d1989 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,14 +15,14 @@ jobs: python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] name: Python ${{ matrix.python-version }} sample steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: x64 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ env.pythonLocation }} key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-u22 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 42ef982..585ce7c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout main - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip-docs key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }} @@ -38,7 +38,7 @@ jobs: # when building on push to main, publish the compiled documentation - name: Deploy built docs to github pages if: ${{ github.event_name == 'push' }} - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./site diff --git a/.github/workflows/recipes.yml b/.github/workflows/recipes.yml index 57691eb..9e4e9e3 100644 --- a/.github/workflows/recipes.yml +++ b/.github/workflows/recipes.yml @@ -9,14 +9,14 @@ jobs: test-recipes: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 architecture: x64 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ${{ env.pythonLocation }}