Skip to content

Commit 7f5ab30

Browse files
authored
feat: Update CI workflows: upgrade Actions versions, Python to 3.12, and CMake to 3.25 (#261)
1 parent 3c8c9d6 commit 7f5ab30

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

.github/workflows/benchmark.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
id: checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
31+
- name: Setup CMake
32+
uses: jwlawson/actions-setup-cmake@v2
33+
with:
34+
cmake-version: '3.25.x'
3135
- name: Configuring CMake files
3236
id: building-files
3337
run: |

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
id: checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
31+
- name: Setup CMake
32+
uses: jwlawson/actions-setup-cmake@v2
33+
with:
34+
cmake-version: '3.25.x'
3135
- name: Configuring CMake files
3236
id: building-files
3337
run: |
@@ -52,7 +56,11 @@ jobs:
5256
steps:
5357
- name: Checkout
5458
id: checkout
55-
uses: actions/checkout@v2
59+
uses: actions/checkout@v4
60+
- name: Setup CMake
61+
uses: jwlawson/actions-setup-cmake@v2
62+
with:
63+
cmake-version: '3.25.x'
5664
- name: Configuring CMake files
5765
id: building-files
5866
run: |
@@ -76,7 +84,11 @@ jobs:
7684
steps:
7785
- name: Checkout
7886
id: checkout
79-
uses: actions/checkout@v2
87+
uses: actions/checkout@v4
88+
- name: Setup CMake
89+
uses: jwlawson/actions-setup-cmake@v2
90+
with:
91+
cmake-version: '3.25.x'
8092
- name: Configuring CMake files
8193
id: building-files
8294
run: |

.github/workflows/memcheck.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
id: checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
31+
- name: Setup CMake
32+
uses: jwlawson/actions-setup-cmake@v2
33+
with:
34+
cmake-version: '3.25.x'
3135
- name: Install requirement
3236
id: install-requirements
3337
run: |

.github/workflows/python_binding.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
platform: [windows-latest, macos-latest, ubuntu-latest]
29-
python-version: ["3.8", "3.10"]
29+
python-version: ["3.12"]
3030

3131
runs-on: ${{ matrix.platform }}
3232

3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v4
3535
with:
3636
submodules: true
37-
- uses: actions/setup-python@v2
37+
- uses: actions/setup-python@v5
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040
- name: Add requirements

0 commit comments

Comments
 (0)