Skip to content

Commit 5cd35ca

Browse files
authored
Update GitHub actions steps and configure dependabot (#9066)
1 parent bcdaedb commit 5cd35ca

11 files changed

Lines changed: 34 additions & 22 deletions

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 10
8+
labels:
9+
- dependencies
10+
- github-actions

.github/workflows/clang-tidy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: Check clang-tidy
2424
runs-on: macos-latest
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727

2828
# We intentionally don't use VCPKG here so that we get some
2929
# notification that the ecosystem is moving on without us.

.github/workflows/pip.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ jobs:
4141
MACOSX_DEPLOYMENT_TARGET: 11
4242

4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v6
4545
with:
4646
fetch-depth: 0
4747
fetch-tags: true
4848

4949
- uses: ilammy/msvc-dev-cmd@v1
50-
- uses: lukka/get-cmake@v3.28.4
50+
- uses: lukka/get-cmake@v4.2.0
51+
with:
52+
cmakeVersion: "~3.28.0"
5153

5254
########################################################################
5355
# LLVM
@@ -68,7 +70,7 @@ jobs:
6870
#- uses: mxschmitt/action-tmate@v3
6971

7072
- name: Build wheels
71-
uses: pypa/cibuildwheel@v3.3.1
73+
uses: pypa/cibuildwheel@v3.4.0
7274
env:
7375
CIBW_BUILD: "cp3*-${{ matrix.platform_tag }}"
7476
CIBW_SKIP: "cp3{5,6,7,8,9}* cp314t-*"
@@ -148,7 +150,7 @@ jobs:
148150
cmake --build build &&
149151
ctest --test-dir build --output-on-failure
150152
151-
- uses: actions/upload-artifact@v4
153+
- uses: actions/upload-artifact@v6
152154
with:
153155
name: wheels-${{ matrix.platform_tag }}
154156
path: ./wheelhouse/*.whl
@@ -160,7 +162,7 @@ jobs:
160162
permissions:
161163
id-token: write
162164
steps:
163-
- uses: actions/download-artifact@v4
165+
- uses: actions/download-artifact@v5
164166
with:
165167
pattern: wheels-*
166168
merge-multiple: true

.github/workflows/pre-commit-push-fixes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Download auto-fix artifacts
1818
id: download
19-
uses: actions/download-artifact@v4
19+
uses: actions/download-artifact@v5
2020
with:
2121
name: pre-commit-fixes
2222
path: /tmp/pre-commit-fixes
@@ -58,7 +58,7 @@ jobs:
5858
env:
5959
GH_TOKEN: ${{ steps.app-token.outputs.token }}
6060

61-
- uses: actions/checkout@v4
61+
- uses: actions/checkout@v6
6262
if: steps.download.outcome == 'success' && env.skip != 'true'
6363
with:
6464
repository: ${{ steps.pr.outputs.head-repo }}

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
name: Run pre-commit checks
1818
runs-on: ubuntu-slim
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
with:
2222
repository: ${{ github.event.pull_request.head.repo.full_name }}
2323
ref: ${{ github.head_ref }}
2424

25-
- uses: actions/setup-python@v5
26-
- uses: astral-sh/setup-uv@v5
25+
- uses: actions/setup-python@v6
26+
- uses: astral-sh/setup-uv@v7
2727

2828
- name: Run pre-commit
2929
id: pre-commit
@@ -57,7 +57,7 @@ jobs:
5757

5858
- name: Upload auto-fix artifacts
5959
if: ${{ !cancelled() && steps.diff.outputs.has-fixes == 'true' }}
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v6
6161
with:
6262
name: pre-commit-fixes
6363
path: |

.github/workflows/testing-arm-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
python: linux-aarch64-gnu
4747

4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v6
5050

51-
- uses: astral-sh/setup-uv@v5
51+
- uses: astral-sh/setup-uv@v7
5252

5353
- name: Install system dependencies
5454
run: |

.github/workflows/testing-ecosystem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: CMake configure (Ubuntu 24.04)
2727
runs-on: ubuntu-24.04
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030

3131
- name: Install dependencies
3232
run: |

.github/workflows/testing-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
# python: cpython-3.10-linux-x86_64-gnu
4747

4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v6
5050

51-
- uses: astral-sh/setup-uv@v5
51+
- uses: astral-sh/setup-uv@v7
5252

5353
- name: Install system dependencies
5454
run: |

.github/workflows/testing-make.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
steps:
5959
- uses: actions/checkout@v6
6060

61-
- uses: astral-sh/setup-uv@v5
61+
- uses: astral-sh/setup-uv@v7
6262

6363
- name: Install dependencies
6464
run: |

.github/workflows/testing-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
# python: cpython-3.10.20-windows-x86_64-none
5151

5252
steps:
53-
- uses: actions/checkout@v4
53+
- uses: actions/checkout@v6
5454

55-
- uses: astral-sh/setup-uv@v5
55+
- uses: astral-sh/setup-uv@v7
5656

5757
- uses: ilammy/msvc-dev-cmd@v1
5858
with:

0 commit comments

Comments
 (0)