Skip to content

Commit

Permalink
fix(.github/workflows): Revert to non-reusable workflow
Browse files Browse the repository at this point in the history
Relates to sap-linuxlab#621.

Signed-off-by: Bernd Finger <[email protected]>
  • Loading branch information
berndfinger committed Jan 25, 2024
1 parent 6fe68db commit 839216a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/ansible-lint-sap_maintain_etc_hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,24 @@ on:

jobs:
ansible-lint:
call-ansible-lint-with-role:
uses: sap-linuxlab/community.sap_install/.github/workflows/ansible-lint-sap_reusable_workflow.yml@main
runs-on: ubuntu-latest

steps:
- name: Check out the code
uses: actions/checkout@main

- name: Set up Python 3
uses: actions/setup-python@main
with:
role: sap_maintain_etc_hosts
python-version: '3.12'

- name: Install test dependencies
run: |
pip3 install ansible==9.1.0
pip3 install ansible-compat==4.1.11
pip3 install ansible-core==2.16.2
pip3 install ansible-lint==6.22.2
- name: Run ansible-lint
working-directory: /home/runner/work/community.sap_install/community.sap_install/roles/sap_maintain_etc_hosts
run: ansible-lint

0 comments on commit 839216a

Please sign in to comment.