Skip to content

Rewrite GHA workflow using reusable actions #1309

Rewrite GHA workflow using reusable actions

Rewrite GHA workflow using reusable actions #1309

Workflow file for this run

name: Ruby Testing
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
env:
RAILS_ENV: test
DATABASE_URL: postgresql://postgres:@localhost/test
DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL: true
jobs:
rubocop:
uses: theforeman/actions/.github/workflows/rubocop.yml@v0
with:
command: bundle exec rubocop -P --format github
test:
name: Ruby
needs: rubocop
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0
with:
plugin: foreman_puppet