mirror of
https://github.com/roles-ansible/role-postgresql-backup.git
synced 2024-08-16 10:19:49 +02:00
update linting tasks
This commit is contained in:
parent
a3bcbd491c
commit
6b72af2f58
13 changed files with 36 additions and 186 deletions
16
.github/workflows/ansible-archlinux-latest.yml
vendored
16
.github/workflows/ansible-archlinux-latest.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check archlinux:latest
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with archlinux:latest
|
||||
uses: roles-ansible/check-ansible-archlinux-latest-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-debian-buster.yml
vendored
16
.github/workflows/ansible-debian-buster.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check debian:buster
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:buster
|
||||
uses: roles-ansible/check-ansible-debian-buster-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-debian-latest.yml
vendored
16
.github/workflows/ansible-debian-latest.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check debian:latest
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:latest
|
||||
uses: roles-ansible/check-ansible-debian-latest-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-debian-sid.yml
vendored
16
.github/workflows/ansible-debian-sid.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check debian:sid
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:sid
|
||||
uses: roles-ansible/check-ansible-debian-sid-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-debian-stable.yml
vendored
16
.github/workflows/ansible-debian-stable.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check debian:stable
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:stable
|
||||
uses: roles-ansible/check-ansible-debian-stable-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-debian-stretch.yml
vendored
16
.github/workflows/ansible-debian-stretch.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check debian:stretch
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:stretch
|
||||
uses: roles-ansible/check-ansible-debian-stretch-action@master
|
||||
with:
|
||||
targets: "./"
|
23
.github/workflows/ansible-linting-check.yml
vendored
23
.github/workflows/ansible-linting-check.yml
vendored
|
@ -1,6 +1,12 @@
|
|||
---
|
||||
name: Ansible Lint check
|
||||
|
||||
on: [push, pull_request]
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -8,13 +14,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Lint Ansible Playbook
|
||||
uses: ansible/ansible-lint-action@master
|
||||
with:
|
||||
targets: "."
|
||||
# [required]
|
||||
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
||||
args: ""
|
||||
# [optional]
|
||||
- name: 'Lint Ansible Playbook'
|
||||
uses: ansible/ansible-lint-action@v6
|
||||
with:
|
||||
targets: "."
|
||||
|
|
16
.github/workflows/ansible-ubuntu-bionic.yml
vendored
16
.github/workflows/ansible-ubuntu-bionic.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check ubuntu:bionic
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with ubuntu:bionic
|
||||
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-ubuntu-eoan.yml
vendored
16
.github/workflows/ansible-ubuntu-eoan.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check ubuntu:eoan
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with ubuntu:eoan
|
||||
uses: roles-ansible/check-ansible-ubuntu-eoan-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-ubuntu-latest.yml
vendored
16
.github/workflows/ansible-ubuntu-latest.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check ubuntu:latest
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with ubuntu:latest
|
||||
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-ubuntu-trusty.yml
vendored
16
.github/workflows/ansible-ubuntu-trusty.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check ubuntu:trusty
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with ubuntu:trusty
|
||||
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
|
||||
with:
|
||||
targets: "./"
|
16
.github/workflows/ansible-ubuntu-xenial.yml
vendored
16
.github/workflows/ansible-ubuntu-xenial.yml
vendored
|
@ -1,16 +0,0 @@
|
|||
name: Ansible check ubuntu:xenial
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with ubuntu:xenial
|
||||
uses: roles-ansible/check-ansible-ubuntu-xenial-action@master
|
||||
with:
|
||||
targets: "./"
|
23
.github/workflows/yamllint.yaml
vendored
Normal file
23
.github/workflows/yamllint.yaml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
name: 'Yamllint GitHub Actions'
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
|
||||
jobs:
|
||||
yamllint:
|
||||
name: 'Yamllint'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 'Yamllint'
|
||||
uses: karancode/yamllint-github-action@v2.0.0
|
||||
with:
|
||||
yamllint_file_or_dir: '.'
|
||||
yamllint_config_filepath: './.yamllint'
|
Loading…
Reference in a new issue