Sha256: f4bc4d0950c3b39fd05ae29b37195bdc89599d14487fd830dd8c2171fef7dc9d
Contents?: true
Size: 1.18 KB
Versions: 6
Compression:
Stored size: 1.18 KB
Contents
--- name: Tests on: pull_request: push: workflow_dispatch: inputs: {} jobs: build: name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }} runs-on: "ubuntu-latest" strategy: fail-fast: false matrix: ruby: ["2.7", "3.0"] gemfile: - Gemfile steps: - uses: actions/checkout@v2.4.0 - uses: actions/cache@v2 with: path: vendor/bundle key: > ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }} restore-keys: > ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }} - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install gem dependencies env: RAILS_ENV: test BUNDLE_GEMFILE: ${{ matrix.gemfile }} run: | gem install bundler bundle config path vendor/bundle bundle update --jobs 4 --retry 3 - name: Run Tests env: RAILS_ENV: test BUNDLE_GEMFILE: ${{ matrix.gemfile }} run: | bundle exec rake
Version data entries
6 entries across 6 versions & 1 rubygems