Skip to content

Commit dd6b86c

Browse files
Copilothsluoyz
andcommitted
Update CI scripts: upgrade GitHub Actions and Python versions
Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
1 parent 18d672f commit dd6b86c

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
id: checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
- name: Configuring CMake files
3232
id: building-files
3333
run: |

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
id: checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
- name: Configuring CMake files
3232
id: building-files
3333
run: |
@@ -52,7 +52,7 @@ jobs:
5252
steps:
5353
- name: Checkout
5454
id: checkout
55-
uses: actions/checkout@v2
55+
uses: actions/checkout@v4
5656
- name: Configuring CMake files
5757
id: building-files
5858
run: |
@@ -76,7 +76,7 @@ jobs:
7676
steps:
7777
- name: Checkout
7878
id: checkout
79-
uses: actions/checkout@v2
79+
uses: actions/checkout@v4
8080
- name: Configuring CMake files
8181
id: building-files
8282
run: |

.github/workflows/memcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
id: checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
- name: Install requirement
3232
id: install-requirements
3333
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

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
cmake_minimum_required(VERSION 3.19)
15+
cmake_minimum_required(VERSION 3.25)
1616

1717
set(CMAKE_WARN_DEPRECATED ON)
1818
set(PY_CASBIN_VERSION 1.1)

0 commit comments

Comments
 (0)