From c34b616198384492753d75c91f4521ad3d086ff2 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 30 Nov 2023 14:17:02 +0100 Subject: [PATCH] use shared test workflow from theforeman/actions --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..7db8f1ff4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: CI + +on: pull_request + +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 + uses: theforeman/actions/.github/workflows/foreman_plugin.yml@install-npm + with: + plugin: foreman_ansible