From: XhmikosR Date: Sun, 2 Aug 2020 13:26:19 +0000 (+0300) Subject: Update to Ruby 2.7/Bundler 2.x. (#31296) X-Git-Tag: v4.5.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ec2ce44b4c2dcf7c456dda0f78877d6a4a0540c;p=thirdparty%2Fbootstrap.git Update to Ruby 2.7/Bundler 2.x. (#31296) --- diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5c7ef45203..ba16a9ad85 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,7 +3,7 @@ on: [push, pull_request] env: CI: true NODE: 12.x - RUBY: 2.6.x + RUBY: 2.7.x jobs: docs: @@ -23,8 +23,11 @@ jobs: with: ruby-version: ${{ env.RUBY }} - - name: Disable gem docs - run: 'echo "gem: --no-document" > ~/.gemrc' + - name: Set up Ruby env + run: | + echo "gem: --no-document" > ~/.gemrc # Disable gem docs + bundle config set clean 'true' + bundle config set deployment 'true' - name: Set up Ruby cache uses: actions/cache@v2 @@ -44,9 +47,6 @@ jobs: ${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} ${{ runner.OS }}-node-v${{ env.NODE }}- - - name: Set up Bundler - run: gem install bundler -v "~> 1.17" - - run: ruby --version - run: gem --version - run: bundle --version diff --git a/Gemfile.lock b/Gemfile.lock index 65a6db50d0..5ee6ae0ec4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -86,4 +86,4 @@ DEPENDENCIES wdm (~> 0.1.1) BUNDLED WITH - 1.17.3 + 2.1.4