Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Packaging for release v2.36.0 #2869

Packaging for release v2.36.0

Packaging for release v2.36.0 #2869

Workflow file for this run

name: Shopify
on:
push:
branches:
- main
pull_request:
concurrency:
group: shopify-${{ github.head_ref }}
cancel-in-progress: true
jobs:
test:
name: Tests with Ruby ${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- 3.1.0
- 3.0.2
- 2.7.5
os:
- macos-11
- ubuntu-20.04
- ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set Git configuration
run: |
git config --global user.email "development-lifecycle@shopify.com"
git config --global user.name "Development Lifecycle"
- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version }}
bundler-cache: true
- name: Install Dependencies
run: bundle install
- name: Run Tests
run: bundle exec rake test
rubocop:
name: Rubocop
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- 3.1.0
os:
- macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version }}
bundler-cache: true
- name: Install Dependencies
run: bundle install
- name: Rubocop
run: bundle exec rake rubocop