Skip to content

Commit

Permalink
use shared workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Dec 12, 2023
1 parent 98c6157 commit 4b96d41
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 70 deletions.
70 changes: 0 additions & 70 deletions .github/workflows/ci.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
pull_request:
push:
branches:
- '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

test:
name: Ruby
needs: rubocop
strategy:
fail-fast: false
matrix:
foreman:
- 'develop'
- '3.9-stable'
- '3.8-stable'
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@install-npm
with:
plugin: foreman_expire_hosts
foreman_version: ${{ matrix.foreman }}

0 comments on commit 4b96d41

Please sign in to comment.