From 90a590b60feeecb788a8bdfade7e9b98a3e48fff Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Thu, 28 Dec 2023 19:19:48 +0100 Subject: [PATCH] Use correct ruby version --- .github/workflows/ci.yml | 6 ++++-- Gemfile | 1 + Gemfile.lock | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed6ab29..51ff355 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,10 +41,12 @@ jobs: shell: bash run: make unit_tests - - name: danger + - name: Danger env: DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: bundle exec danger --verbose + run: + /opt/homebrew/opt/ruby/bin/bundle install + /opt/homebrew/opt/ruby/bin/bundle exec danger --verbose - name: Publish Test Report uses: mikepenz/action-junit-report@v3 diff --git a/Gemfile b/Gemfile index d7a80e5..e0e71fe 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,4 @@ source "https://rubygems.org" gem "xcov", "~> 1.8" gem "danger", "~> 9.4" +gem "danger-xcov", "~> 0.5.0" diff --git a/Gemfile.lock b/Gemfile.lock index dc12b8c..0d41fe5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -48,6 +48,9 @@ GEM no_proxy_fix octokit (>= 4.0) terminal-table (>= 1, < 4) + danger-xcov (0.5.0) + danger (>= 2.1) + xcov (>= 1.7.3) declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) @@ -257,6 +260,7 @@ PLATFORMS DEPENDENCIES danger (~> 9.4) + danger-xcov (~> 0.5.0) xcov (~> 1.8) BUNDLED WITH