Skip to content

Commit

Permalink
CI: don't upgrade Rubygems to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
tkareine committed Jan 8, 2024
1 parent 3784239 commit 0df0532
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
gemfile:
- jekyll3
- jekyll4
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile-${{ matrix.gemfile }}
BUNDLE_PATH: ${{ github.workspace }}/vendor/bundle-${{ matrix.gemfile }}
steps:
- name: Checkout git repository
uses: actions/checkout@v4
Expand All @@ -35,11 +38,9 @@ jobs:
${{ runner.os }}-mri-${{ matrix.ruby }}-bundle-${{ matrix.gemfile }}-
- name: Install gem dependencies
run: |
echo 'gem: --no-document' > ~/.gemrc
gem update --system >/dev/null
echo "Using RubyGems $(gem --version)"
bundle config --local gemfile Gemfile-${{ matrix.gemfile }}
bundle config --local path vendor/bundle-${{ matrix.gemfile }}
echo "Using $(bundle --version)"
echo 'gem: --no-document' > ~/.gemrc
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake

0 comments on commit 0df0532

Please sign in to comment.