Sha256: e7f5a5f347b50fd13390830653a19ed3d935586fbbcb709a53716520efaab3ac

Contents?: true

Size: 801 Bytes

Versions: 2

Compression:

Stored size: 801 Bytes

Contents

name: CI

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.1.2

      - name: Bundle Install
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3

      - name: RuboCop Linter Action
        uses: andrewmcodes/rubocop-linter-action@v3.3.0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      - name: Run RSpec and Code Coverage
        uses: paambaati/codeclimate-action@v2.4.0
        env:
          CC_TEST_REPORTER_ID: 79d8e81f3c0ccfce30d983b4454d2f042d2883fa64b23527c3a94587930b37be
        with:
          coverageCommand: bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
triviacrack-0.8.0 .github/workflows/ci.yml
triviacrack-0.7.0 .github/workflows/ci.yml