diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2021-01-02 19:26:07 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-02 19:26:07 +0300 |
| commit | a05dba8cdeeb11b6b921a3f5a98328d64d749888 (patch) | |
| tree | 94e40b54254c097755925d24d6f8b0b31d0a7b36 /.github/workflows | |
| parent | 9f45bbe77fdfed654801dc645fa1022450220666 (diff) | |
enable caching to speedup CI (#386)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0397b44..f9d8db7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: '3.0' - - name: Build - run: bundle install --jobs 4 --retry 3 + bundler-cache: true - name: Lint run: bundle exec rake lint test: @@ -45,15 +44,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Set up Asciidoctor + if: matrix.asciidoctor != '' + run: echo "ASCIIDOCTOR_VERSION=${{ matrix.asciidoctor }}" >> "${GITHUB_ENV}" - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Set up Asciidoctor - if: matrix.asciidoctor != '' - run: echo "ASCIIDOCTOR_VERSION=${{ matrix.asciidoctor }}" >> "${GITHUB_ENV}" - - name: Build - run: bundle install --jobs 4 --retry 3 + bundler-cache: true - name: Test env: # pygments.rb often times out on MacOS nodes, leading to CI failures |
