瀏覽代碼

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"

Loading…
取消
儲存