Skip to content

Apache DataFusion SQL Query Engine

Update actions (#2678)

Raphael Taylor-Davies49e072a3368f
diff --git a/.github/workflows/comment_bot.yml b/.github/workflows/comment_bot.yml
index 92e1d3cdbd..b1e7179ae1 100644
--- a/.github/workflows/comment_bot.yml
+++ b/.github/workflows/comment_bot.yml
@@ -35,7 +35,7 @@ jobs:
with:
repository: apache/arrow
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Archery and Crossbow dependencies
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 060224968c..b9a0bfe776 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -30,7 +30,7 @@ jobs:
submodules: true
fetch-depth: 0
- name: Setup Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup Archery
@@ -45,7 +45,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Audit licenses
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 8add12b250..c409202392 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -40,14 +40,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
# these represent dependencies downloaded by cargo
# and thus do not depend on the OS, arch nor rust version.
path: /github/home/.cargo
key: cargo-cache-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
# these represent compiled steps of both dependencies and arrow
# and thus are specific for a particular OS, arch and rust version.
@@ -96,13 +96,13 @@ jobs:
with:
submodules: true
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/.cargo
# this key equals the ones on `linux-build-lib` for re-use
key: cargo-cache-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/target
# this key equals the ones on `linux-build-lib` for re-use
@@ -148,13 +148,13 @@ jobs:
with:
python-version: '3.x'
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/.cargo
# this key equals the ones on `linux-build-lib` for re-use
key: cargo-cache-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/target
# this key equals the ones on `linux-build-lib` for re-use
@@ -195,7 +195,7 @@ jobs:
run: |
rustup toolchain install stable
rustup default stable
- - uses: actions/setup-python@v2
+ - uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Python dependencies
@@ -286,18 +286,18 @@ jobs:
with:
submodules: true
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/.cargo
# this key equals the ones on `linux-build-lib` for re-use
key: cargo-cache-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/target
# this key equals the ones on `linux-build-lib` for re-use
key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}
- - uses: actions/setup-python@v2
+ - uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install PyArrow
@@ -351,13 +351,13 @@ jobs:
rustup default ${{ matrix.rust }}
rustup component add rustfmt clippy
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /home/runner/.cargo
# this key is not equal because the user is different than on a container (runner vs github)
key: cargo-coverage-cache3-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /home/runner/target
# this key is not equal because coverage uses different compilation flags.
@@ -397,13 +397,13 @@ jobs:
with:
submodules: true
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/.cargo
# this key equals the ones on `linux-build-lib` for re-use
key: cargo-cache-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/target
# this key equals the ones on `linux-build-lib` for re-use
@@ -432,7 +432,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- - uses: actions/cache@v2
+ - uses: actions/cache@v3
with:
path: |
~/.cargo/registry
@@ -475,13 +475,13 @@ jobs:
with:
submodules: true
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/.cargo
# this key equals the ones on `linux-build-lib` for re-use
key: cargo-cache-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/target
# this key equals the ones on `linux-build-lib` for re-use
@@ -520,13 +520,13 @@ jobs:
with:
submodules: true
- name: Cache Cargo
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/.cargo
# this key equals the ones on `linux-build-lib` for re-use
key: cargo-cache-
- name: Cache Rust dependencies
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: /github/home/target
# this key equals the ones on `linux-build-lib` for re-use