Skip to content

Create gem-push.yml #74

Create gem-push.yml

Create gem-push.yml #74

Workflow file for this run

name: Build
on: [ push, pull_request, workflow_dispatch ]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
ruby: [ '2.7', '3.0' ]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run checks
run: bundle exec rake
- name: Upload artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts/**