This is an automated email from the ASF dual-hosted git repository. xuanwo pushed a commit to branch fix-ci in repository https://gitbox.apache.org/repos/asf/opendal.git
commit f229a24bae7a0a90c13eb8aa6d82155b452f1f94 Author: Xuanwo <[email protected]> AuthorDate: Mon Oct 14 11:06:04 2024 +0800 ci: Fix failing CI on ocaml and python 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
