This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new bc6dd6209d ci: Fix failing CI on ocaml and python (#5177)
bc6dd6209d is described below
commit bc6dd6209dcd3c708dc844f2a3448bfa4371d07e
Author: Xuanwo <[email protected]>
AuthorDate: Mon Oct 14 11:36:13 2024 +0800
ci: Fix failing CI on ocaml and python (#5177)
Signed-off-by: Xuanwo <[email protected]>
---
.github/workflows/ci_bindings_ocaml.yml | 5 +++--
.github/workflows/ci_bindings_python.yml | 2 +-
.github/workflows/docs.yml | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci_bindings_ocaml.yml
b/.github/workflows/ci_bindings_ocaml.yml
index 7160ac6b9e..abc8d20e3f 100644
--- a/.github/workflows/ci_bindings_ocaml.yml
+++ b/.github/workflows/ci_bindings_ocaml.yml
@@ -22,7 +22,7 @@ on:
branches:
- main
tags:
- - '*'
+ - "*"
pull_request:
branches:
- main
@@ -34,7 +34,8 @@ on:
jobs:
test:
- runs-on: ubuntu-latest
+ # Wait for https://github.com/ocaml/setup-ocaml/issues/872 fixes
+ runs-on: ubuntu-22.04
steps:
- name: Checkout PR
diff --git a/.github/workflows/ci_bindings_python.yml
b/.github/workflows/ci_bindings_python.yml
index f3fc63d6cc..9493e7da87 100644
--- a/.github/workflows/ci_bindings_python.yml
+++ b/.github/workflows/ci_bindings_python.yml
@@ -42,5 +42,5 @@ jobs:
- name: Ruff Check
working-directory: "bindings/python"
run: |
- pip install ruff
+ pip install ruff --break-system-packages
ruff check .
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 8a6af98547..c741684a96 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -276,7 +276,7 @@ jobs:
path: ./bindings/cpp/build/docs_doxygen/html
build-ocaml-doc:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4