Versionary needs installation pre-bundler, attempt 5 #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruby | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- '3.0.4' | |
steps: | |
- uses: actions/checkout@v2 | |
# | |
# Versionary needs to be installed before Bundler because the | |
# gemspec references it. Right now I'm floundering about how to | |
# do this within the framework. I really should look it up.. | |
# | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: false | |
run: | | |
gem install --no-user-install --install-dir vendor/bundle/ruby/3.0.0/gems versionomy | |
- name: Run the default task | |
run: bundle exec rake |