Sha256: fdc34cb41ce1f5187954ea470552bf1f9bf386bbc8955af6487312024bbe32e4

Contents?: true

Size: 968 Bytes

Versions: 3

Compression:

Stored size: 968 Bytes

Contents

name: Ruby

on: [push]

jobs:
  build:
    timeout-minutes: 10
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby:
          - "2.7"
          - "3.0"
        lockfile:
          - "Gemfile.lock"
          - "Gemfile-activesupport-7.lock"
        exclude:
          - ruby: "2.5"
            lockfile: "Gemfile-activesupport-7.lock"
          - ruby: "2.6"
            lockfile: "Gemfile-activesupport-7.lock"

    name: Ruby ${{ matrix.ruby }} Gem lockfile ${{ matrix.lockfile }} test
    steps:
      - uses: actions/checkout@v2

      - uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}

      - name: Override Gemfile.lock to test multiple gem dependencies
        run: cp -f gemfile-locks/${{ matrix.lockfile }} Gemfile.lock

      - name: Install dependencies
        run: |
          gem install bundler
          bundle install --local

      - name: Run Tests
        run: |
          bundle exec rake test

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cased-ruby-0.7.1 .github/workflows/ruby.yml
cased-ruby-0.7.0 .github/workflows/ruby.yml
cased-ruby-0.6.1 .github/workflows/ruby.yml