Skip to content

Commit

Permalink
chore(ci): update actions/* versions (#540)
Browse files Browse the repository at this point in the history
Fixes #539
  • Loading branch information
assignUser authored Jun 25, 2024
1 parent ab8a112 commit 1872799
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Calculate code coverage
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
name: "pre-commit"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
- name: pre-commit (cache)
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build documentation
run: |
Expand All @@ -54,7 +54,7 @@ jobs:

- name: Clone asf-site branch
if: success() && github.repository == 'apache/arrow-nanoarrow' && github.ref == 'refs/heads/main'
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: asf-site
path: pages-clone
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
name: Source
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
apache-arrow-nanoarrow-${VERSION} \
$(git log -n 1 --format=%h)
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: source
retention-days: 7
Expand All @@ -101,7 +101,7 @@ jobs:
needs:
- source
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: source

Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
popd
- name: Archive docs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs
retention-days: 2
Expand All @@ -148,7 +148,7 @@ jobs:
needs:
- source
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: source

Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
mkdir nanoarrow-r-pkg && cd nanoarrow-r-pkg
R CMD build ../nanoarrow/r
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: r-source
retention-days: 7
Expand All @@ -209,7 +209,7 @@ jobs:

steps:
- name: Get All Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: release-artifacts
- name: Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- 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 }}
cache: 'pip'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- {os: ubuntu-latest, label: ubuntu}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src
fetch-depth: 0
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
- {platform: "alpine", arch: "s390x", compose_args: "-e TEST_C_BUNDLED=0"}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src
fetch-depth: 0
Expand Down

0 comments on commit 1872799

Please sign in to comment.