1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00

Merge pull request #17 from roles-ansible/actions

update github actions
This commit is contained in:
L3D 2022-04-07 23:06:40 +02:00 committed by GitHub
commit 20f2da49be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 83 additions and 58 deletions

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with archlinux:latest - name: 'ansible check with archlinux:latest'
uses: roles-ansible/check-ansible-archlinux-latest-action@master uses: roles-ansible/check-ansible-archlinux-latest-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with ubuntu:centos7 - name: 'ansible check with ubuntu:centos7'
uses: roles-ansible/check-ansible-centos-centos7-action@master uses: roles-ansible/check-ansible-centos-centos7-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with ubuntu:centos8 - name: 'ansible check with ubuntu:centos8'
uses: roles-ansible/check-ansible-centos-centos8-action@master uses: roles-ansible/check-ansible-centos-centos8-action@master
with: with:
targets: "./" targets: "./"

View file

@ -0,0 +1,18 @@
---
name: Ansible check centos:stream9
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v3
- name: 'ansible check with quay.io/centos/centos:stream9'
uses: roles-ansible/check-ansible-centos-centos9-action@main
with:
targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with ubuntu:latest - name: 'ansible check with ubuntu:latest'
uses: roles-ansible/check-ansible-centos-latest-action@master uses: roles-ansible/check-ansible-centos-latest-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with debian:bullseye - name: 'ansible check with debian:bullseye'
uses: roles-ansible/check-ansible-debian-bullseye-action@main uses: roles-ansible/check-ansible-debian-bullseye-action@main
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with debian:buster - name: 'ansible check with debian:buster'
uses: roles-ansible/check-ansible-debian-buster-action@master uses: roles-ansible/check-ansible-debian-buster-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with debian:latest - name: 'ansible check with debian:latest'
uses: roles-ansible/check-ansible-debian-latest-action@master uses: roles-ansible/check-ansible-debian-latest-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with debian:sid - name: 'ansible check with debian:sid'
uses: roles-ansible/check-ansible-debian-sid-action@master uses: roles-ansible/check-ansible-debian-sid-action@master
with: with:
targets: "./" targets: "./"

View file

@ -2,7 +2,11 @@
name: Ansible check debian:stable name: Ansible check debian:stable
# yamllint disable-line rule:truthy # yamllint disable-line rule:truthy
on: [push, pull_request] on:
push:
branches: '*'
pull_request:
branches: '*'
jobs: jobs:
build: build:
@ -10,9 +14,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with debian:stable - name: 'ansible check with debian:stable'
uses: roles-ansible/check-ansible-debian-stable-action@master uses: roles-ansible/check-ansible-debian-stable-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with debian:stretch - name: 'ansible check with debian:stretch'
uses: roles-ansible/check-ansible-debian-stretch-action@master uses: roles-ansible/check-ansible-debian-stretch-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with fedora:31 - name: 'ansible check with fedora:31'
uses: roles-ansible/check-ansible-fedora-31-action@master uses: roles-ansible/check-ansible-fedora-31-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with fedora:32 - name: 'ansible check with fedora:32'
uses: roles-ansible/check-ansible-fedora-32-action@master uses: roles-ansible/check-ansible-fedora-32-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with fedora:33 - name: 'ansible check with fedora:33'
uses: roles-ansible/check-ansible-fedora-33-action@master uses: roles-ansible/check-ansible-fedora-33-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with fedora:latest - name: 'ansible check with fedora:latest'
uses: roles-ansible/check-ansible-fedora-latest-action@master uses: roles-ansible/check-ansible-fedora-latest-action@master
with: with:
targets: "./" targets: "./"

View file

@ -10,13 +10,13 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: Lint Ansible Playbook - name: 'Lint Ansible Playbook'
uses: ansible/ansible-lint-action@v6 uses: ansible/ansible-lint-action@v6
with: with:
targets: "." targets: "."

View file

@ -6,13 +6,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with ubuntu:bionic - name: 'ansible check with ubuntu:bionic'
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
with: with:
targets: "./" targets: "./"

View file

@ -6,11 +6,11 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with ubuntu:latest - name: ansible check with ubuntu:latest
uses: roles-ansible/check-ansible-ubuntu-latest-action@master uses: roles-ansible/check-ansible-ubuntu-latest-action@master

View file

@ -6,11 +6,11 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: 'checkout git repo'
uses: actions/checkout@v3
- name: ansible check with ubuntu:trusty - name: ansible check with ubuntu:trusty
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master uses: roles-ansible/check-ansible-ubuntu-trusty-action@master

View file

@ -12,9 +12,10 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: checkout - name: 'checkout git repo'
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: galaxy
- name: 'release on galaxy'
uses: robertdebock/galaxy-action@1.2.0 uses: robertdebock/galaxy-action@1.2.0
with: with:
galaxy_api_key: ${{ secrets.galaxy_api_key }} galaxy_api_key: ${{ secrets.galaxy_api_key }}

View file

@ -13,10 +13,11 @@ jobs:
name: 'Yamllint' name: 'Yamllint'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 'Checkout' - name: 'checkout git repo'
uses: actions/checkout@master uses: actions/checkout@v3
- name: 'Yamllint' - name: 'Yamllint'
uses: karancode/yamllint-github-action@master uses: karancode/yamllint-github-action@v2.0.0
with: with:
yamllint_file_or_dir: '.' yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint' yamllint_config_filepath: './.yamllint'