From 52a0936efae5578727fa1cab04b0c5fe761908e1 Mon Sep 17 00:00:00 2001 From: Adam Binford Date: Mon, 10 Jun 2024 13:56:12 +0000 Subject: [PATCH 1/2] Bump versions of deprecated actions --- .github/workflows/python-release.yml | 10 +++++----- .github/workflows/python-test.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index c60336a..c95d841 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 if: ${{ matrix.target }} != 'x86_64' - name: Build wheels uses: PyO3/maturin-action@v1 @@ -42,7 +42,7 @@ jobs: before-script-linux: | yum install -y epel-release && yum install -y krb5-devel llvm-toolset-7.0-clang llvm-toolset-7.0-llvm-devel - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -67,7 +67,7 @@ jobs: BINDGEN_EXTRA_CLANG_ARGS: "-I/usr/local/include" LIBRARY_PATH: /usr/local/lib - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -82,7 +82,7 @@ jobs: command: sdist args: --out dist --manifest-path python/Cargo.toml - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -93,7 +93,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') needs: [linux, macos, sdist] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheels - name: Publish to PyPI diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 6e658d5..58256e2 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -82,7 +82,7 @@ jobs: yum install -y epel-release && yum install -y krb5-devel llvm-toolset-7.0-clang llvm-toolset-7.0-llvm-devel - name: Upload wheels if: github.ref == 'refs/heads/master' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist From 5fc2eb21e3edd0893b3765b2c898af7445de7059 Mon Sep 17 00:00:00 2001 From: Adam Binford Date: Mon, 10 Jun 2024 14:53:02 +0000 Subject: [PATCH 2/2] Update java and python actions too --- .github/workflows/python-test.yml | 4 ++-- .github/workflows/rust-test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 58256e2..315e1a5 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "17" @@ -39,7 +39,7 @@ jobs: echo "$GITHUB_WORKSPACE/hadoop-3.3.6/bin" >> $GITHUB_PATH - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/rust-test.yml b/.github/workflows/rust-test.yml index 2b24a69..5811d24 100644 --- a/.github/workflows/rust-test.yml +++ b/.github/workflows/rust-test.yml @@ -84,7 +84,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "17"