Skip to content

Explicitly set bundler versioning strategy #160

Explicitly set bundler versioning strategy

Explicitly set bundler versioning strategy #160

Workflow file for this run

# Built from: https://github.com/actions/starter-workflows/blob/main/ci/ruby.yml and
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-ruby
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: ruby
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: true
# from https://github.com/gjtorikian/html-proofer/blob/main/README.md#caching-with-continuous-integration
- name: Cache HTMLProofer
id: cache-htmlproofer
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: tmp/.htmlproofer
key: ${{ runner.os }}-htmlproofer
- run: bundle config set --local with ci
- run: bundle install
- run: bundle exec rake