Skip to content

Commit

Permalink
fix ci: gem update with current version
Browse files Browse the repository at this point in the history
  • Loading branch information
wtsnjp committed Feb 1, 2024
1 parent d227e3d commit 040b716
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get Ruby version
id: ruby-version
run: echo "::set-output name=VERSION::$(cat .ruby-version)"

- name: Set up Ruby
uses: ruby/setup-ruby@v1

Expand Down Expand Up @@ -65,7 +69,7 @@ jobs:
- name: Set up RubyGems
run: |
gem update --system --no-document --conservative
gem update --system ${{ steps.ruby-version.outputs.VERSION }} --no-document --conservative
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
Expand Down

0 comments on commit 040b716

Please sign in to comment.