Sha256: 50c41c95933e4fcb7b034bd67542597a816fc55db93c410c1c1346fd089fbec0

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

name: Ruby Gem

on:
  push:
    branches: [ master, dev ]
    paths-ignore:
      - "**/README.md"
  pull_request:
    branches: [ master, dev ]
    paths-ignore:
      - "**/README.md"

jobs:
  tests:
    name: Tests
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: [2.5, 2.6, 2.7, 3.0]
        rails: ['5.0', '5.1', '5.2', '6.0', '6.1']
    steps:
      - uses: actions/checkout@v2
      - name: always-upload-cache
        # You may pin to the exact commit or the version.
        # uses: pat-s/always-upload-cache@8bf65902d2f73eea094eb913323ef6fb84f4bcb8
        uses: pat-s/always-upload-cache@v2.1.3
        with:
          # A list of files, directories, and wildcard patterns to cache and restore
          path: $(pwd)/vendor/bundle
          key: ${{ runner.os }}-gems-${{ hashFiles('test/gemfiles/*.gemfile') }}
          restore-keys: |
            ${{ runner.os }}-gems-
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Bundle install
        run: |
          bundle config path $(pwd)/vendor/bundle
          bundle install --jobs 4 --retry 3
        env:
          BUNDLE_GEMFILE: "test/gemfiles/${{ matrix.rails }}.gemfile"
      - run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_active_link_to-1.1.0 .github/workflows/gem.yml