From f6355b540475aa65919c92a1b044bb17a000313a Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Sat, 6 Apr 2024 20:55:36 +0200 Subject: [PATCH] ci: Fix failing CI by pinning bundler version (#1778) --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/release-automated.yml | 4 ++-- .github/workflows/release-manual-docs.yml | 2 +- CONTRIBUTING.md | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74bda152f..ea1710078 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: tests: env: GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: script: @@ -56,7 +56,7 @@ jobs: - name: Submodules run: | git submodule update --init --recursive - sudo gem install bundler + sudo gem install bundler -v 2.4.22 bundle config set path 'vendor/bundle' - name: Bundle Install if: steps.cache-gems.outputs.cache-hit != 'true' @@ -94,6 +94,7 @@ jobs: xcode_archive_path: ${{ env.TEST_RESULTS }} docs: runs-on: macos-13 + timeout-minutes: 15 steps: - uses: actions/checkout@v3 - name: Setup Ruby @@ -109,7 +110,7 @@ jobs: - name: Submodules run: | git submodule update --init --recursive - sudo gem install bundler + sudo gem install bundler -v 2.4.22 bundle config path vendor/bundle - name: Bundle Install if: steps.cache-gems.outputs.cache-hit != 'true' diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index f1806a1e6..c0e588b10 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -30,7 +30,7 @@ jobs: - name: Submodules and Bundle Install run: | git submodule update --init --recursive - sudo gem install bundler + sudo gem install bundler -v 2.4.22 bundle config set path 'vendor/bundle' bundle install - run: npm ci @@ -64,7 +64,7 @@ jobs: - name: Submodules run: | git submodule update --init --recursive - sudo gem install bundler + sudo gem install bundler -v 2.4.22 bundle config path vendor/bundle - name: Bundle Install if: steps.cache-gems.outputs.cache-hit != 'true' diff --git a/.github/workflows/release-manual-docs.yml b/.github/workflows/release-manual-docs.yml index a79f99eed..b5f785d93 100644 --- a/.github/workflows/release-manual-docs.yml +++ b/.github/workflows/release-manual-docs.yml @@ -30,7 +30,7 @@ jobs: - name: Submodules run: | git submodule update --init --recursive - sudo gem install bundler + sudo gem install bundler -v 2.4.22 bundle config path vendor/bundle - name: Bundle Install if: steps.cache-gems.outputs.cache-hit != 'true' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 80b39d7fa..be210c30e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ For analyzing bugs, creating bug fixes and features we recommend to clone this r Install all dependencies: ``` git submodule update --init --recursive - gem install bundler + gem install bundler -v 2.4.22 bundle install ``` Run the tests: