summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarat Radchenko <marat@slonopotamus.org>2020-04-18 16:27:21 +0300
committerGitHub <noreply@github.com>2020-04-18 16:27:21 +0300
commit28979d05a182258d879ec2db7c8fcdd5404402df (patch)
treefd44edd2f6717c4d68141bc558e4b3c65ca9a9c8 /.github/workflows
parent861afde5b6af28d43da62970f8a6c8aadd934cd6 (diff)
stop installing Bundler on GH-Actions manually (#330)
setup-ruby does that for us automatically
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 10d6051..43be763 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,9 +11,7 @@ jobs:
with:
ruby-version: 2.7
- name: Build
- run: |
- gem install bundler
- bundle install --jobs 4 --retry 3
+ run: bundle install --jobs 4 --retry 3
- name: Lint
run: bundle exec rake lint
test:
@@ -34,15 +32,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
- uses: eregon/use-ruby-action@v1
+ uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Set up Asciidoctor
if: matrix.asciidoctor != ''
run: echo "::set-env name=ASCIIDOCTOR_VERSION::${{ matrix.asciidoctor }}"
- name: Build
- run: |
- gem install bundler
- bundle install --jobs 4 --retry 3
+ run: bundle install --jobs 4 --retry 3
- name: Test
run: bundle exec rake spec