Sha256: 7bbfe5859e561cb179c47a396e52d1efd7bbfb55d1fe32397fb37c4259540048

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 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-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

2 entries across 2 versions & 1 rubygems

Version Path
shopify-cli-2.23.0 .github/workflows/shopify.yml
shopify-cli-2.22.0 .github/workflows/shopify.yml