Skip to content

Specify Docker platform explicitly to avoid issues on Mac M2 #43

Specify Docker platform explicitly to avoid issues on Mac M2

Specify Docker platform explicitly to avoid issues on Mac M2 #43

Workflow file for this run

name: Main
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Run Rubocop
run: |
bundle exec rubocop
- name: Run tests
run: |
bundle exec rake