Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-08-08 08:50:03 +0300
committerGitHub <noreply@github.com>2020-08-08 08:50:03 +0300
commit5688dc35ea562cf352f325e818d8fd984a29407f (patch)
treed788b6f64617a45950b146187fc519dea92706d1 /.github
parent4d0898933744e88155dabf0d6d2bc75c671f8166 (diff)
Update to Ruby 2.7/Bundler 2.x. (#159)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2e0bd4a1..717a86fb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,7 +2,7 @@ name: CI
on: [push, pull_request]
env:
CI: true
- RUBY: 2.6.x
+ RUBY: 2.7.x
jobs:
test:
@@ -17,8 +17,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
@@ -29,9 +32,6 @@ jobs:
${{ runner.os }}-gem-${{ env.RUBY }}-${{ hashFiles('Gemfile') }}-${{ hashFiles('Gemfile.lock') }}
${{ runner.os }}-gem-${{ env.RUBY }}-
- - name: Set up Bundler
- run: gem install bundler -v "~> 1.17"
-
- run: ruby --version
- run: gem --version
- run: bundle --version