浏览代码

Create ansible-lint.yml

avoiding common pitfalls that can easily lead to bugs or make code harder to maintain
pull/1469/head
sakkiii 4 年前
committed by GitHub
父节点
当前提交
2430c14869
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 19 次插入0 次删除
  1. +19
    -0
      .github/workflows/ansible-lint.yml

+ 19
- 0
.github/workflows/ansible-lint.yml 查看文件

@@ -0,0 +1,19 @@
name: Ansible Lint

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
with:
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
targets: "./"

args: "-x metadata, formatting"

正在加载...
取消
保存