Sha256: 1f7447b03899ea48e091fc1512bbc169d87c13fc87be3ba6f300430cdceec1b1

Contents?: true

Size: 1.49 KB

Versions: 9

Compression:

Stored size: 1.49 KB

Contents

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.6.6
          - 2.7.5
        os:
          - macos-10.15
          - macos-11
          - ubuntu-20.04
          - ubuntu-18.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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shopify-cli-2.21.0 .github/workflows/shopify.yml
shopify-cli-2.20.1 .github/workflows/shopify.yml
shopify-cli-2.20.0 .github/workflows/shopify.yml
shopify-cli-2.19.0 .github/workflows/shopify.yml
shopify-cli-2.18.1 .github/workflows/shopify.yml
shopify-cli-2.18.0 .github/workflows/shopify.yml
shopify-cli-2.17.0 .github/workflows/shopify.yml
shopify-cli-2.16.1 .github/workflows/shopify.yml
shopify-cli-2.16.0 .github/workflows/shopify.yml