Sha256: f3128e6690cc5134f6678b506a945adb2d6ee5296a77df51c3fe4ef50adaacac

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

---
name: Checks

on:
  push:
    branches:
      - 4.x
  pull_request:
    branches:
      - 4.x

jobs:
  rubocop_checks:
    runs-on: ubuntu-18.04
    name: RuboCop
    steps:
      - name: Checkout current PR
        uses: actions/checkout@v2

      - name: Rubocop checks
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.6
      - run: bundle install --jobs 3 --retry 3
      - run: bundle exec rubocop --parallel

  rtc:
    runs-on: ubuntu-latest
    name: RuboCop TODO
    steps:
      - uses: actions/checkout@v1
      - uses: gimmyxd/rtc-action@0.2.1
        env:
          RTC_TOKEN: ${{ secrets.RTC_TOKEN }}
          UPDATE_PR: false

          # forces the job to fail if there are any new offences
          FORCE_ERROR_EXIT: true

  commit_checks:
    runs-on: ubuntu-18.04
    name: commit message
    steps:
      - name: Checkout current PR
        uses: actions/checkout@v2
        with:
          fetch-depth: 2

      - name: Commit message checks
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.6
      - run: bundle install --jobs 3 --retry 3
      - run: bundle exec rake commits

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.29 .github/workflows/checks.yaml
facter-4.0.28 .github/workflows/checks.yaml