From 99a0aa550722094a8dd1985f9e54f15a4d79e1f1 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Fri, 26 Apr 2024 10:05:11 +0200 Subject: [PATCH] ci: bump github actions versions --- .github/workflows/check-docs.yml | 6 +++--- .github/workflows/publish-doc-to-remote.yml | 4 ++-- .github/workflows/release-drafter.yml | 2 +- .github/workflows/run-test.yml | 12 ++++++------ .github/workflows/upload-to-pypi.yml | 16 ++++++++-------- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index cf65ffef..533d02b3 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -9,9 +9,9 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Install sndfile library # for librose, see https://github.com/deepcharles/ruptures/pull/121 @@ -27,7 +27,7 @@ jobs: - name: Build documentation run: | mkdocs build - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: DocumentationHTML path: site/ diff --git a/.github/workflows/publish-doc-to-remote.yml b/.github/workflows/publish-doc-to-remote.yml index 3dc63376..52e01f6b 100644 --- a/.github/workflows/publish-doc-to-remote.yml +++ b/.github/workflows/publish-doc-to-remote.yml @@ -10,9 +10,9 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.x - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Install sndfile library # for librose, see https://github.com/deepcharles/ruptures/pull/121 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index c45d6f22..7ce30481 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 # with: # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml # config-name: my-config.yml diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index 3e98e2e3..c1371a64 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -23,9 +23,9 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install ruptures @@ -39,9 +39,9 @@ jobs: coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install ruptures @@ -52,11 +52,11 @@ jobs: run: | python -m pytest --cov --cov-report=xml --cov-report=term:skip-covered - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: files: ./coverage.xml flags: unittests fail_ci_if_error: true - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: coverage.xml diff --git a/.github/workflows/upload-to-pypi.yml b/.github/workflows/upload-to-pypi.yml index 0fdfebd7..d66135be 100644 --- a/.github/workflows/upload-to-pypi.yml +++ b/.github/workflows/upload-to-pypi.yml @@ -18,16 +18,16 @@ jobs: name: Make SDist runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install deps run: python -m pip install build twine - name: Build SDist run: python -m build --sdist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz - name: Check metadata @@ -40,10 +40,10 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Used to host cibuildwheel - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 - name: Install cibuildwheel run: python -m pip install cibuildwheel @@ -57,7 +57,7 @@ jobs: # Manually force a version (and avoid building local wheels) CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: wheelhouse/*.whl @@ -72,7 +72,7 @@ jobs: arch: aarch64 platform_id: manylinux_aarch64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -87,7 +87,7 @@ jobs: CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }} # Manually force a version (and avoid building local wheels) CIBW_ENVIRONMENT: "SETUPTOOLS_SCM_PRETEND_VERSION=${{ github.event.inputs.overrideVersion }}" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: wheelhouse/*.whl