Sha256: 36d8cf3cf3e449a322cc57c45aaa6cfaa6188d0ea2fb36f895cb1675e35bc1c8

Contents?: true

Size: 997 Bytes

Versions: 6

Compression:

Stored size: 997 Bytes

Contents

# Put this in the file: .github/workflows/verify.yml

name: Verify
on: [push, pull_request]

jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.6 # Not needed with a .ruby-version file
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Run Rubocop
      run: bundle exec rubocop

  rspec:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.6 # Not needed with a .ruby-version file
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Run RSpec
      run: COVERAGE=true bundle exec rspec
    - name: Run codacy-coverage-reporter
      uses: codacy/codacy-coverage-reporter-action@master
      with:
        project-token: "8c564cf8054e4575b20b580d47020f52"
        coverage-reports: coverage/coverage.xml

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dude-cli-2.1.0.alpha5 .github/workflows/verify.yml
dude-cli-2.1.0.alpha4 .github/workflows/verify.yml
dude-cli-2.1.0.alpha3 .github/workflows/verify.yml
dude-cli-2.1.0.alpha2 .github/workflows/verify.yml
dude-cli-2.1.0.alpha1 .github/workflows/verify.yml
dude-cli-2.0.7 .github/workflows/verify.yml