Skip to content

Commit

Permalink
ci: ansible lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinyblargon committed Jul 4, 2024
1 parent a127871 commit ce89e44
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
skip_list:
- role-name
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: CI
'on':
pull_request:
push:
branches:
- main

defaults:
run:
working-directory: 'Tinyblargon.autofs'

jobs:

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
with:
path: 'Tinyblargon.autofs'

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

- name: Install test dependencies.
run: pip3 install ansible-lint
- name: Lint code.
run: ansible-lint

0 comments on commit ce89e44

Please sign in to comment.