Skip to content

Use theforeman/actions for GitHub Actions configuration #61

Use theforeman/actions for GitHub Actions configuration

Use theforeman/actions for GitHub Actions configuration #61

Workflow file for this run

---
name: CI
on:
pull_request:
push:
branch:
- master
- '*-stable'
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
rubocop:
name: Rubocop
uses: theforeman/actions/.github/workflows/rubocop.yml@v0
with:
command: bundle exec rubocop --parallel --format github
test:
name: Ruby
needs: rubocop
strategy:
fail-fast: false
matrix:
foreman:
- 'develop'
- '3.9-stable'
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0
with:
plugin: foreman_expire_hosts
foreman_version: ${{ matrix.foreman }}