commit | e879536e18e856be81363beb7ccafeda6df1e645 | [log] [tgz] |
---|---|---|
author | Mohammed Naser <mnaser@vexxhost.com> | Wed Aug 31 17:52:58 2022 -0400 |
committer | Mohammed Naser <mnaser@vexxhost.com> | Wed Aug 31 17:59:09 2022 -0400 |
tree | 29bd0bb964f80ee549ba443cd9e32771318fd865 | |
parent | fc4a8e18456aa8712f33c1ef344b2dff750f3ab7 [diff] |
ci: switch to container job for ansible-lint Related: https://github.com/ansible/ansible-lint/discussions/2374 Related: https://github.com/ansible-community/ansible-lint-action/issues/118
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4db03ac..beaae7d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml
@@ -8,8 +8,10 @@ jobs: ansible-lint: runs-on: ubuntu-latest + container: haxorof/ansible-lint:v6 steps: - uses: actions/checkout@v3.0.2 - - uses: ansible-community/ansible-lint-action@v6.3.0 - with: - path: roles + - run: ansible-lint roles + env: + GITHUB_ACTIONS: true + GITHUB_WORKFLOW: "{{ github.workflow.name }}"