Run code in else block if ruby tag is standalone #142
Workflow file for this run
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
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: "ruby ${{ matrix.combo.ruby }}" | |
strategy: | |
matrix: | |
combo: | |
- ruby: "3.3" | |
- ruby: "3.2" | |
- ruby: "3.1" | |
- ruby: "3.0" | |
- ruby: "2.7" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.combo.ruby }} | |
- name: Setup project | |
run: bin/setup | |
- name: Run test | |
run: "bundle exec rake" |