Skip to content

Commit

Permalink
Update ansible-lint version
Browse files Browse the repository at this point in the history
  • Loading branch information
kazauwa committed Mar 16, 2024
1 parent 8780f4c commit 03a3144
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,21 @@ on:
push:
branches:
- main
- dev
defaults:
run:
working-directory: 'kazauwa.headscale'
jobs:
lint:
name: Lint
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
- name: Check out code
uses: actions/checkout@v4
with:
path: 'kazauwa.headscale'

- name: Set up Python 3.
uses: actions/setup-python@v2
- name: Run ansible-lint
uses: ansible/ansible-lint@v24
with:
python-version: '3.x'

- name: Install test dependencies.
run: pip3 install ansible-lint==5.4.0 ansible-core==2.12

- name: Lint code.
run: |
ansible-lint .
path: 'kazauwa.headscale'

0 comments on commit 03a3144

Please sign in to comment.