Sha256: cfd908e2d1c3bd5efa9d9a3ed4316693ddb01f2b608157cdb363ea87fc2ffa98

Contents?: true

Size: 804 Bytes

Versions: 1

Compression:

Stored size: 804 Bytes

Contents

name: Run RuboCop and RSpec

on:
  pull_request:
    branches:
    - '*'
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: ruby/setup-ruby@v1
      with:
        bundler-cache: true
    - name: Run RuboCop
      run: bin/rubocop --format clang
    - name: Run RSpec tests
      run: bin/rspec --format progress
    - name: Ensure alpha version
      run: grep alpha $(find . -type f -name version.rb)
    - name: Ensure no git diff
      run: git diff --exit-code && git diff-index --quiet --cached HEAD
    - name: Ensure "## Unreleased" is in CHANGELOG.md
      run: grep "^## Unreleased" CHANGELOG.md
    - name: Upload Code Coverage
      uses: codecov/codecov-action@v3
      with:
        directory: tmp/simple_cov

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
runger_actions-0.20.0 .github/workflows/ruby.yml