Skip to content

Commit

Permalink
Rewrite gha workflow using reusable actions
Browse files Browse the repository at this point in the history
  • Loading branch information
archanaserver authored and sbernhard committed Jan 23, 2024
1 parent e40c7cf commit 5a2305a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 96 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/rubocop.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/ruby_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Ruby Testing
on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true

jobs:
rubocop:
name: Rubocop
uses: theforeman/actions/.github/workflows/rubocop.yml@v0
with:
command: bundle exec rubocop

test:
name: Ruby
needs: rubocop
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0
with:
plugin: foreman_salt
74 changes: 0 additions & 74 deletions .github/workflows/unit_tests.yml

This file was deleted.

0 comments on commit 5a2305a

Please sign in to comment.