Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
haxorof authored Dec 14, 2024
1 parent 294c53d commit acf996f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,5 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare
run: mkdir -p ${GITHUB_WORKSPACE}/.ansible

- name: Install role dependency
run: docker run --rm -v ${GITHUB_WORKSPACE}:/mnt -v ${GITHUB_WORKSPACE}/.ansible:/root/.ansible --entrypoint="ansible-galaxy" haxorof/ansible-lint:v24-almalinux collection install -r requirements.yml

- name: Lint Ansible role
run: docker run --rm -v ${GITHUB_WORKSPACE}:/mnt -v ${GITHUB_WORKSPACE}/.ansible:/root/.ansible haxorof/ansible-lint:v24-almalinux -v --force-color . --exclude .ansible/ --exclude tests/
run: docker run --rm -v ${GITHUB_WORKSPACE}:/mnt haxorof/ansible-lint:v24-almalinux -v --force-color .

0 comments on commit acf996f

Please sign in to comment.