Sha256: d19f0267e92f4eb98779316884a33642afa5138f92884e4ffbce95d9900fffaf

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

name: Containers

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7.3
          bundler-cache: true

  rspec:
    runs-on: ubuntu-latest

    needs: build

    steps:
      - uses: actions/checkout@v2

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7.3
          bundler-cache: true

      - run: |
            curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
            chmod +x ./cc-test-reporter
      - run: |
            ./cc-test-reporter before-build
            bundle exec rspec
            ./cc-test-reporter after-build -r $CC_TEST_REPORTER_ID --exit-code $?
        env:
           CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
  
  lint:
    runs-on: ubuntu-latest

    needs: build

    steps:

    - uses: actions/checkout@v2

    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7.3
        bundler-cache: true

    - run: bundle exec rubocop --display-cop-names --parallel

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
br_documents-0.2.0 .github/workflows/config.yml