mirror of
https://github.com/roles-ansible/ansible_role_avahi_daemon.git
synced 2024-08-16 15:09:48 +02:00
Updating linting action
This commit is contained in:
parent
41905fe7c6
commit
d4f1bed516
2 changed files with 20 additions and 10 deletions
9
.github/dependabot.yml
vendored
Normal file
9
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
# See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
21
.github/workflows/ansible-linting-check.yml
vendored
21
.github/workflows/ansible-linting-check.yml
vendored
|
@ -6,17 +6,18 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Ansible Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v4.1.0
|
||||||
- name: Lint Ansible Playbook
|
|
||||||
uses: ansible/ansible-lint-action@master
|
|
||||||
with:
|
with:
|
||||||
targets: "."
|
lfs: true
|
||||||
# [required]
|
submodules: true
|
||||||
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
fetch-depth: 0
|
||||||
args: ""
|
|
||||||
# [optional]
|
- name: Run ansible-lint
|
||||||
|
uses: ansible-actions/ansible-lint-action@v0.0.2
|
||||||
|
with:
|
||||||
|
target: "./"
|
||||||
|
|
Loading…
Add table
Reference in a new issue