Sha256: 6d00f1f12042cfbd9c677724b1b3afefb46b9d99a6a797a478ab776d84cbe3cd

Contents?: true

Size: 967 Bytes

Versions: 2

Compression:

Stored size: 967 Bytes

Contents

name: "RuboCop"
on:
  push:
    branches:
      - "main"
      - "master"
    paths:
      - "**/*.rb"
      - "**/*.rake"
      - "Rakefile"
      - "Gemfile*"
      - ".rubocop.yml"
  pull_request:
    branches:
      - "main"
      - "master"
    types:
      - "opened"
      - "synchronize"
  workflow_dispatch:
jobs:
  run:
    runs-on: ubuntu-latest
    name: ${{ matrix.type }}
    strategy:
      fail-fast: false
      matrix:
        type: ["Style", "Layout", "Naming", "Lint", "Metrics", "Security"]
    steps:
    - name: Clone
      uses: actions/checkout@v2
    - name: Get git diff
      id: get_diff
      uses: technote-space/get-diff-action@v4
      with:
        PATTERNS: |
          **/*.rb
          **/*.rake
          Gemfile
          Rakefile
    - name: Check ${{ matrix.type }}
      uses: action-hero/actions/rubocop@main
      if: ${{ env.GIT_DIFF != '' }}
      with:
        diff: ${{ env.GIT_DIFF }}
        type: ${{ matrix.type }}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-factory-0.12.0 .github/workflows/rubocop.yml
rom-factory-0.11.0 .github/workflows/rubocop.yml