Skip to content

Commit d0b669e

Browse files
authored
[ci] Update github actions (#4434)
* Update github actions * Fix missing dependency from somacore port * Disable linting error in setup.py
1 parent 2e54555 commit d0b669e

13 files changed

+41
-40
lines changed

.github/workflows/build-cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
runs-on: ${{ inputs.os }}
1616
steps:
1717
- name: Checkout TileDB-SOMA
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Build and install libtiledbsoma
2121
run: |
2222
./scripts/bld --no-tiledb-deprecated=true --werror=true --build ${{ inputs.build_type }}
2323
2424
- name: Upload C++ build artifact
25-
uses: actions/upload-artifact@v4
25+
uses: actions/upload-artifact@v7
2626
with:
2727
# The name now includes the build type
2828
name: cpp-build-${{ inputs.build_type }}-${{ inputs.os }}

.github/workflows/ci-linters.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Checkout TileDB-SOMA
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v6
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v5
16+
uses: actions/setup-python@v6
1717
with:
1818
python-version: "3.12"
1919

2020
- name: Restore pre-commit cache
21-
uses: actions/cache@v4
21+
uses: actions/cache@v5
2222
with:
2323
path: ~/.cache/pre-commit
2424
key: pre-commit-ubuntu-24.04-3.12-${{ hashFiles('.github/workflows/lint-python.yml', '.pre-commit-config.yaml') }}

.github/workflows/ci-r-python-interop.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838

3939
steps:
4040
- name: Checkout TileDB-SOMA
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242
with:
4343
fetch-depth: 0 # Required to fetch tags: https://github.com/actions/checkout/issues/2199
4444
fetch-tags: true # Tags used for Python package version.
4545

4646
- name: Download pre-built C++ library
47-
uses: actions/download-artifact@v4
47+
uses: actions/download-artifact@v8
4848
with:
4949
name: cpp-build-Release-${{ matrix.os }}
5050

@@ -100,7 +100,7 @@ jobs:
100100
run: Rscript -e 'tiledbsoma::show_package_versions()'
101101

102102
- name: Set up Python 3.11
103-
uses: actions/setup-python@v5
103+
uses: actions/setup-python@v6
104104
with:
105105
python-version: "3.11"
106106
cache: pip

.github/workflows/pkgdown.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
env:
2424
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727

2828
- uses: r-lib/actions/setup-pandoc@v2
2929

.github/workflows/python-dependency-variation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646

4747
steps:
4848
- name: Check out TileDB-SOMA
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v6
5050
with:
5151
fetch-depth: 0 # Required to fetch tags: https://github.com/actions/checkout/issues/2199
5252
fetch-tags: true # Tags used for Python package version.
5353

5454
- name: Checkout vcpkg
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v6
5656
with:
5757
repository: microsoft/vcpkg
5858
path: vcpkg
@@ -70,7 +70,7 @@ jobs:
7070
run: cat /proc/cpuinfo
7171

7272
- name: Set up Python ${{ matrix.python_version }}
73-
uses: actions/setup-python@v5
73+
uses: actions/setup-python@v6
7474
with:
7575
python-version: ${{ matrix.python_version }}
7676
cache: pip

.github/workflows/python-dockers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
name: ${{ matrix.img.name }}${{ matrix.os.suffix }}
4646
runs-on: ${{ matrix.os.runs-on }}
4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v6
4949
- name: docker build
5050
run: |
5151
args=()
@@ -65,7 +65,7 @@ jobs:
6565
if: (failure() || cancelled()) && github.event_name == 'schedule' && github.run_attempt == 1
6666
steps:
6767
- name: Checkout TileDB-SOMA `main`
68-
uses: actions/checkout@v4
68+
uses: actions/checkout@v6
6969
- name: Create Issue if Build Fails
7070
uses: JasonEtco/create-an-issue@v2
7171
env:

.github/workflows/python-packaging.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Checkout TileDB-SOMA
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0 # Required to fetch tags: https://github.com/actions/checkout/issues/2199
2424
fetch-tags: true # Tags needed for python API version number
@@ -34,7 +34,7 @@ jobs:
3434

3535

3636
- name: Upload sdist artifact to GitHub Actions storage
37-
uses: actions/upload-artifact@v4
37+
uses: actions/upload-artifact@v7
3838
with:
3939
name: sdist
4040
path: apis/python/dist/
@@ -49,11 +49,11 @@ jobs:
4949
python_version: ["3.9", "3.10", "3.11", "3.12"]
5050
steps:
5151
- name: Set up Python ${{ matrix.python_version }}
52-
uses: actions/setup-python@v5
52+
uses: actions/setup-python@v6
5353
with:
5454
python-version: ${{ matrix.python_version }}
5555
- name: Download sdist artifact
56-
uses: actions/download-artifact@v4
56+
uses: actions/download-artifact@v8
5757
with:
5858
name: sdist
5959
path: apis/python/dist/
@@ -87,7 +87,7 @@ jobs:
8787

8888
steps:
8989
- name: Checkout TileDB-SOMA
90-
uses: actions/checkout@v4
90+
uses: actions/checkout@v6
9191
with:
9292
fetch-depth: 0 # Required to fetch tags: https://github.com/actions/checkout/issues/2199
9393
fetch-tags: true # Tags needed for python API version number
@@ -118,7 +118,7 @@ jobs:
118118
pip list
119119
120120
- name: Build wheels
121-
uses: pypa/cibuildwheel@v3.1.1
121+
uses: pypa/cibuildwheel@v3.4.0
122122
with:
123123
package-dir: apis/python/
124124
output-dir: wheelhouse
@@ -136,7 +136,7 @@ jobs:
136136
run: ls -l ./wheelhouse/*.whl
137137

138138
- name: Upload wheel-${{ matrix.python_name }}-${{ matrix.platform }}
139-
uses: actions/upload-artifact@v4
139+
uses: actions/upload-artifact@v7
140140
with:
141141
name: wheel-${{ matrix.python_name }}-${{ matrix.platform }}
142142
path: ./wheelhouse/*.whl
@@ -182,11 +182,11 @@ jobs:
182182
fail-fast: false
183183
steps:
184184
- name: Set up Python ${{ matrix.python_version }}
185-
uses: actions/setup-python@v5
185+
uses: actions/setup-python@v6
186186
with:
187187
python-version: ${{ matrix.python_version }}
188188
- name: Download artifacts
189-
uses: actions/download-artifact@v4
189+
uses: actions/download-artifact@v8
190190
with:
191191
name: wheel-${{ matrix.python_name }}-${{ matrix.platform }}
192192
- name: Install numba to prevent building from source
@@ -225,7 +225,7 @@ jobs:
225225
if: github.event_name == 'workflow_dispatch'
226226
steps:
227227
- name: Download artifacts
228-
uses: actions/download-artifact@v4
228+
uses: actions/download-artifact@v8
229229
- name: Create dist
230230
run: |
231231
set -x
@@ -252,7 +252,7 @@ jobs:
252252
if: github.event_name == 'release'
253253
steps:
254254
- name: Download artifacts
255-
uses: actions/download-artifact@v4
255+
uses: actions/download-artifact@v8
256256
- name: Create dist
257257
run: |
258258
set -x
@@ -273,7 +273,7 @@ jobs:
273273
if: (failure() || cancelled()) && github.event_name != 'workflow_dispatch' && github.event_name != 'pull_request' && github.run_attempt == 1
274274
steps:
275275
- name: Checkout TileDB-SOMA `main`
276-
uses: actions/checkout@v4
276+
uses: actions/checkout@v6
277277
- name: Create Issue if Build Fails
278278
uses: JasonEtco/create-an-issue@v2
279279
env:

.github/workflows/python-remote-storage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ${{ matrix.os }}
4646

4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v6
4949

5050
- name: Show matrix OS
5151
run: echo "matrix.os:" ${{ matrix.os }}
@@ -55,19 +55,19 @@ jobs:
5555
run: cat /proc/cpuinfo
5656

5757
- name: Set up Python ${{ matrix.python_version }}
58-
uses: actions/setup-python@v5
58+
uses: actions/setup-python@v6
5959
with:
6060
python-version: ${{ matrix.python_version }}
6161
cache: pip
6262
cache-dependency-path: ./apis/python/setup.py
6363

6464
- name: Check out TileDB-SOMA
65-
uses: actions/checkout@v4
65+
uses: actions/checkout@v6
6666
with:
6767
fetch-depth: 0 # ensure we get all tags to inform package version determination
6868

6969
- name: Download pre-built C++ library
70-
uses: actions/download-artifact@v4
70+
uses: actions/download-artifact@v8
7171
with:
7272
name: cpp-build-Release-${{ matrix.os }}
7373

.github/workflows/r-valgrind.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
container:
1818
image: rocker/r2u:latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121

2222
- name: SessionInfo
2323
run: R -q -e 'sessionInfo()'

.github/workflows/test-cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v4
2525

2626
- name: Download pre-built C++ library
27-
uses: actions/download-artifact@v4
27+
uses: actions/download-artifact@v8
2828
with:
2929
name: cpp-build-Release-${{ inputs.os }}
3030

@@ -50,7 +50,7 @@ jobs:
5050

5151
- uses: actions/checkout@v4
5252
- name: Download C++ ASAN build artifact
53-
uses: actions/download-artifact@v4
53+
uses: actions/download-artifact@v8
5454
with:
5555
name: cpp-build-ASAN-${{ inputs.os }}
5656

0 commit comments

Comments
 (0)