From d9e3facbe8fdfbb34f015b0f2aa770770ad2a501 Mon Sep 17 00:00:00 2001 From: zakary Date: Sat, 22 Jun 2024 20:36:06 -0500 Subject: [PATCH] [CI] Update actions to latest version (node 16 deprecation) Closes: https://github.com/deluge-torrent/deluge/pull/453 --- .github/workflows/cd.yml | 8 ++++---- .github/workflows/ci.yml | 10 +++++----- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8ef901006a..959b654822 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,20 +29,20 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Checkout Deluge source to subdir to enable packaging any tag/commit - name: Checkout Deluge source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.ref }} fetch-depth: 0 path: deluge_src - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python}} architecture: ${{ matrix.arch }} @@ -98,7 +98,7 @@ jobs: python setup_nsis.py makensis /Darch=${{ matrix.arch }} deluge-win-installer.nsi - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: deluge-py${{ matrix.python }}-lt${{ matrix.libtorrent }}-${{ matrix.arch }} path: packaging/win/*.exe diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f0675c2c1..d648ba1dfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,12 +19,12 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "pip" @@ -63,7 +63,7 @@ jobs: python -c 'from deluge._libtorrent import lt; print(lt.__version__)'; $DEBUG_PREFIX pytest -v -m "not (todo or gtkui)" deluge - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 # capture all crashes as build artifacts if: failure() with: @@ -78,12 +78,12 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "pip" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9afa069365..a23e264b81 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,11 +15,11 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: "pip" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6c55c6b77f..c3b0017c84 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - name: Run pre-commit linting - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1