From ddbc612841594ab36d114675ced917faa65de5ed Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Tue, 13 Feb 2024 13:15:44 +0100 Subject: [PATCH] ci: Update various action versions --- .github/workflows/build-wheels.yaml | 18 +++++++++--------- .github/workflows/doc.yml | 4 ++-- .github/workflows/rebase.yml | 2 +- .github/workflows/test.yml | 15 ++++++++------- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-wheels.yaml b/.github/workflows/build-wheels.yaml index 16980e9ceb5..625cfe7f96e 100644 --- a/.github/workflows/build-wheels.yaml +++ b/.github/workflows/build-wheels.yaml @@ -16,7 +16,7 @@ jobs: outputs: include: ${{ steps.set-matrix.outputs.include }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install cibuildwheel # Nb. keep cibuildwheel version pin consistent with job below run: pipx install cibuildwheel==2.14.1 @@ -46,7 +46,7 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU if: runner.os == 'Linux' @@ -59,7 +59,7 @@ jobs: with: only: ${{ matrix.only }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl name: Orange3-wheels @@ -69,10 +69,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 - name: Build sdist (pep517) run: | @@ -80,7 +80,7 @@ jobs: python -m pep517.build -s . - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Orange3-source path: dist/*.tar.gz @@ -94,7 +94,7 @@ jobs: steps: - name: Download bdist files id: download_artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: Orange3-wheels path: ~/downloads @@ -118,13 +118,13 @@ jobs: steps: - name: Download bdist files - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: Orange3-wheels path: downloads/ - name: Download sdist files - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: Orange3-source path: downloads/ diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 96957e7f172..a90160eb962 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -18,9 +18,9 @@ jobs: os: [ubuntu-22.04] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 76cc6136c31..1028835d655 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the latest code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: token: ${{ secrets.BIOLAB_HELPER_PAT }} fetch-depth: 0 # otherwise, you will fail to push refs to dest repo diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 554e978b409..bf279df1fde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,12 +12,12 @@ jobs: lint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '2' - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -78,9 +78,9 @@ jobs: - 1433:1433 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 }} @@ -112,9 +112,10 @@ jobs: - name: Upload code coverage if: matrix.python-version == '3.11' && matrix.tox_env == 'orange-released' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} test_on_macos_and_windows: runs-on: ${{ matrix.os }} @@ -146,9 +147,9 @@ jobs: name: PyQt6 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }}