]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update to Ruby 2.7/Bundler 2.x. (#31296)
authorXhmikosR <xhmikosr@gmail.com>
Sun, 2 Aug 2020 13:26:19 +0000 (16:26 +0300)
committerGitHub <noreply@github.com>
Sun, 2 Aug 2020 13:26:19 +0000 (16:26 +0300)
.github/workflows/docs.yml
Gemfile.lock

index 5c7ef452039e6f77ef3dc645199237599606ca2e..ba16a9ad856b3267c744883d7cffeb125c539d5d 100644 (file)
@@ -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
index 65a6db50d0c098f47a90ebbdb386f9ee9309b0d2..5ee6ae0ec40e9efa9ba205df5fc7fee37240c96b 100644 (file)
@@ -86,4 +86,4 @@ DEPENDENCIES
   wdm (~> 0.1.1)
 
 BUNDLED WITH
-   1.17.3
+   2.1.4