Skip to content

Commit

Permalink
ARROW-16569: [CI] Update checkout actions to newer version
Browse files Browse the repository at this point in the history
This PR aims to update the github checkout actions to the newest version.

Closes apache#13152 from raulcd/ARROW-16569

Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
raulcd authored and kou committed May 14, 2022
1 parent 07135b2 commit 390fb09
Show file tree
Hide file tree
Showing 18 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/archery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Git Fixup
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: arrow
# fetch the tags for version number generation
Expand All @@ -56,7 +56,7 @@ jobs:
if: startsWith(github.event.comment.body, '@github-actions autotune')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
if: startsWith(github.event.comment.body, '@github-actions rebase')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
title: AMD64 Ubuntu 20.04 C++ ASAN UBSAN
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
CMAKE_CXX_STANDARD: 17
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
- name: Install Dependencies
run: choco install -y --no-progress openssl
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
/d 1 `
/f
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Source Link
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Source Link
Expand All @@ -105,7 +105,7 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Source Link
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: Process
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Comment JIRA link
if: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
UBUNTU: "20.04"
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache Docker Volumes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_light.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
PYTHON: "3.9"
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache Docker Volumes
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
GO: ${{ matrix.go }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
GO: ${{ matrix.go }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
GO: ${{ matrix.go }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
/d 1 `
/f
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Checkout Arrow Rust
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: apache/arrow-rs
path: rust
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
MAVEN: ${{ matrix.maven }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
with:
java-version: ${{ matrix.jdk }}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/java_jni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
timeout-minutes: 90
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
timeout-minutes: 90
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
node: [16]
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install NodeJS
Expand All @@ -102,7 +102,7 @@ jobs:
node: [16]
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install NodeJS
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install ninja-build
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install ninja-build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
NUMPY: ${{ matrix.numpy || 'latest' }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
PYARROW_TEST_LARGE_MEMORY: ON
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
UBUNTU: ${{ matrix.ubuntu }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache Docker Volumes
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
R_TAG: ${{ matrix.config.tag }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache Docker Volumes
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
steps:
- run: git config --global core.autocrlf false
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup ccache
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
steps:
- run: git config --global core.autocrlf false
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: mkdir r/windows
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
UBUNTU: ${{ matrix.ubuntu }}
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
XML_CATALOG_FILES: /usr/local/etc/xml/catalog
steps:
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
/d 1 `
/f
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:

{%- macro github_checkout_arrow(fetch_depth=1) -%}
- name: Checkout Arrow
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: {{ fetch_depth }}
path: arrow
Expand Down

0 comments on commit 390fb09

Please sign in to comment.