Sha256: d448758b37bebf4b4c24d7cc7ed1b7758a7777a590c62fec4f45898647c3f02f

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

Stored size: 846 Bytes

Contents

name: CI

on:
  pull_request:
  push:
    branches:
      - master

jobs:
  ci_checks:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby:
          - 3.0.3
          - 3.1.1
          - 3.2.2
        mongodb:
          - 5.0
          - 6.0
          - 7.0

    name: Ruby ${{ matrix.ruby }} sample

    steps:
      - name: Checkout this repo
        uses: actions/checkout@v2

      - name: Install Ruby and Bundler
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
          ruby-version: ${{ matrix.ruby }}
      
      - name: Start MongoDB
        uses: supercharge/mongodb-github-action@1.7.0
        with:
          mongodb-version: ${{ matrix.mongodb }}

      - name: Run rubocop
        run: |
          bundle exec rubocop
      - name: Run tests
        run: |
          bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
consyncful-1.0.1 .github/workflows/ci.yml