forked from bitlair/ansible
Add CI for ansible-lint
This commit is contained in:
parent
607a401cef
commit
6cff97e2bb
2 changed files with 27 additions and 0 deletions
8
.config/ansible-lint.yml
Normal file
8
.config/ansible-lint.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
skip_list:
|
||||||
|
- fqcn[action-core]
|
||||||
|
- name[casing]
|
||||||
|
- name[missing]
|
||||||
|
|
||||||
|
exclude_paths:
|
||||||
|
- .forgejo
|
19
.forgejo/workflows/test.yaml
Normal file
19
.forgejo/workflows/test.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- run: apk add nodejs ansible ansible-lint
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- run: ansible-lint
|
Loading…
Add table
Reference in a new issue