Still working on Github workflows.. #21
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 | |
- name: Set up Ruby w/o bundler | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler: none | |
bundler-cache: false | |
- name: Why does Github think this is broken | |
run: pwd | |
- name: Install versionary manually in vendor/bundle/ruby/3.0.0 | |
run: | | |
gem install --no-user-install --install-dir vendor/bundle/ruby/3.0.0 versionomy | |
- name: What is going where | |
run: tree -d | |
- name: Set up Ruby normally now | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: And where are they now? | |
run: tree -d | |
- name: Run the default task | |
run: bundle exec rake | |
# Local Variables: | |
# mode: yaml | |
# eval: (if (intern-soft "fci-mode") (fci-mode 1)) | |
# End: |