Sha256: 5cf6bb0a170a3d9e5ef880a71da58955c963ab2aaabe370fd5eaf981fb2b4ded

Contents?: true

Size: 848 Bytes

Versions: 4

Compression:

Stored size: 848 Bytes

Contents

name: Run RuboCop and RSpec

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

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - 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@v4
      with:
        directory: tmp/simple_cov
        token: ${{ secrets.CODECOV_TOKEN }}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
runger_actions-0.24.0 .github/workflows/ruby.yml
runger_actions-0.23.0 .github/workflows/ruby.yml
runger_actions-0.22.0 .github/workflows/ruby.yml
runger_actions-0.21.0 .github/workflows/ruby.yml