summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-07-09 23:55:02 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-07-10 01:05:14 -0600
commit29305b4b199d4a081140829942bace7c7c0ff89f (patch)
tree3da20a804291dde9eb6b1f3773c42b1bb56cda52
parent8a85445c26cb32c2f6659e4775a3cdb137d21683 (diff)
lock bundler version in CI to workaround regression [skip ci]
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 17801239..8c736e1b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -52,7 +52,6 @@ jobs:
primary: primary
runs-on: ${{ matrix.os }}
env:
- COVERAGE: ${{ matrix.primary }}
BUNDLE_WITHOUT: docs
SOURCE_DATE_EPOCH: '1521504000'
steps:
@@ -64,6 +63,9 @@ jobs:
- name: Configure Nokogiri installation (Linux, macOS)
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
run: echo 'BUNDLE_BUILD__NOKOGIRI=--use-system-libraries' >> $GITHUB_ENV
+ - name: Enable coverage
+ if: matrix.primary
+ run: echo 'COVERAGE=true' >> $GITHUB_ENV
- name: Set AsciiMath version
if: matrix.asciimath-version
run: echo 'ASCIIMATH_VERSION=${{ matrix.asciimath-version }}' >> $GITHUB_ENV
@@ -77,6 +79,8 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
+ # NOTE lock bundler version due to https://github.com/rubygems/rubygems/issues/4748
+ bundler: '2.2.22'
bundler-cache: ${{ github.event_name != 'schedule' }}
- name: Install dependencies (scheduled build only)
if: github.event_name == 'schedule'