From 3bf101ed13b12ae2b71a916f6cb51e8bf59c1e30 Mon Sep 17 00:00:00 2001 From: Chris Harris Date: Wed, 10 Apr 2024 12:40:56 +0000 Subject: [PATCH] Bump actions versions Node 16 is depreciated, so move to the latest version of our actions. --- .github/workflows/black.yml | 2 +- .github/workflows/mkdocs.yml | 6 +++--- .github/workflows/pypi.yml | 8 ++++---- .github/workflows/pytest.yml | 4 ++-- .github/workflows/ruff.yml | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 74c9c28..d6f6cd8 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -10,7 +10,7 @@ jobs: black: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: psf/black@23.9.1 with: options: "--check --verbose" diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 006d0a9..1968960 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: mkdocs-${{ github.ref }} path: .cache diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index ffee598..fdd8caa 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -13,9 +13,9 @@ jobs: name: Build wheel runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install pypa/build @@ -33,7 +33,7 @@ jobs: --wheel --outdir dist/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: wheel path: ./dist/ @@ -49,7 +49,7 @@ jobs: id-token: write if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheel path: dist diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index f9849ce..af8e567 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -16,9 +16,9 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index c0d6408..bf693ee 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -10,5 +10,5 @@ jobs: ruff: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: chartboost/ruff-action@v1 \ No newline at end of file