From 79241e3ee63e8540a9147bf4f0afa39079240d17 Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 8 Apr 2022 02:12:28 +0200 Subject: [PATCH] update github actions --- .github/workflows/ansible-alpine-latest.yml | 6 +++--- .github/workflows/ansible-archlinux-latest.yml | 6 +++--- .github/workflows/ansible-centos-centos7.yml | 6 +++--- .github/workflows/ansible-centos-centos8.yml | 6 +++--- .github/workflows/ansible-centos-centos9.yml | 18 ++++++++++++++++++ .github/workflows/ansible-centos-latest.yml | 6 +++--- .github/workflows/ansible-debian-bullseye.yml | 6 +++--- .github/workflows/ansible-debian-buster.yml | 6 +++--- .github/workflows/ansible-debian-latest.yml | 6 +++--- .github/workflows/ansible-debian-sid.yml | 6 +++--- .github/workflows/ansible-debian-stable.yml | 5 +++-- .github/workflows/ansible-debian-stretch.yml | 6 +++--- .github/workflows/ansible-fedora-31.yml | 6 +++--- .github/workflows/ansible-fedora-32.yml | 6 +++--- .github/workflows/ansible-fedora-33.yml | 6 +++--- .github/workflows/ansible-fedora-latest.yml | 6 +++--- .github/workflows/ansible-linting-check.yml | 6 +++--- .github/workflows/ansible-ubuntu-bionic.yml | 6 +++--- .github/workflows/ansible-ubuntu-latest.yml | 4 ++-- .github/workflows/ansible-ubuntu-trusty.yml | 4 ++-- .github/workflows/galaxy.yml | 10 ++++++---- .github/workflows/yamllint.yaml | 7 ++++--- 22 files changed, 83 insertions(+), 61 deletions(-) create mode 100644 .github/workflows/ansible-centos-centos9.yml diff --git a/.github/workflows/ansible-alpine-latest.yml b/.github/workflows/ansible-alpine-latest.yml index 07bfff0..96ccfd1 100644 --- a/.github/workflows/ansible-alpine-latest.yml +++ b/.github/workflows/ansible-alpine-latest.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: 'checkout git repo' + uses: actions/checkout@v3 - - name: ansible check with alpine:latest + - name: 'ansible check with alpine:latest' uses: roles-ansible/check-ansible-alpine-latest-action@master with: targets: "./" diff --git a/.github/workflows/ansible-archlinux-latest.yml b/.github/workflows/ansible-archlinux-latest.yml index e823f0c..edcd8c8 100644 --- a/.github/workflows/ansible-archlinux-latest.yml +++ b/.github/workflows/ansible-archlinux-latest.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-centos-centos7.yml b/.github/workflows/ansible-centos-centos7.yml index 401d2c0..f7990c9 100644 --- a/.github/workflows/ansible-centos-centos7.yml +++ b/.github/workflows/ansible-centos-centos7.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-centos-centos8.yml b/.github/workflows/ansible-centos-centos8.yml index f20097b..5dc597e 100644 --- a/.github/workflows/ansible-centos-centos8.yml +++ b/.github/workflows/ansible-centos-centos8.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-centos-centos9.yml b/.github/workflows/ansible-centos-centos9.yml new file mode 100644 index 0000000..4e95a06 --- /dev/null +++ b/.github/workflows/ansible-centos-centos9.yml @@ -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: "./" diff --git a/.github/workflows/ansible-centos-latest.yml b/.github/workflows/ansible-centos-latest.yml index 94eb54b..16bb4e7 100644 --- a/.github/workflows/ansible-centos-latest.yml +++ b/.github/workflows/ansible-centos-latest.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-debian-bullseye.yml b/.github/workflows/ansible-debian-bullseye.yml index 4b7c45d..b50d111 100644 --- a/.github/workflows/ansible-debian-bullseye.yml +++ b/.github/workflows/ansible-debian-bullseye.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-debian-buster.yml b/.github/workflows/ansible-debian-buster.yml index d76b02c..a819e89 100644 --- a/.github/workflows/ansible-debian-buster.yml +++ b/.github/workflows/ansible-debian-buster.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-debian-latest.yml b/.github/workflows/ansible-debian-latest.yml index f7eb5b6..d06a132 100644 --- a/.github/workflows/ansible-debian-latest.yml +++ b/.github/workflows/ansible-debian-latest.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-debian-sid.yml b/.github/workflows/ansible-debian-sid.yml index 2e3215a..22cbbfb 100644 --- a/.github/workflows/ansible-debian-sid.yml +++ b/.github/workflows/ansible-debian-sid.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-debian-stable.yml b/.github/workflows/ansible-debian-stable.yml index 38a456d..bf06f77 100644 --- a/.github/workflows/ansible-debian-stable.yml +++ b/.github/workflows/ansible-debian-stable.yml @@ -14,9 +14,10 @@ jobs: runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-debian-stretch.yml b/.github/workflows/ansible-debian-stretch.yml index c947cae..c291320 100644 --- a/.github/workflows/ansible-debian-stretch.yml +++ b/.github/workflows/ansible-debian-stretch.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-fedora-31.yml b/.github/workflows/ansible-fedora-31.yml index 08502fe..707e816 100644 --- a/.github/workflows/ansible-fedora-31.yml +++ b/.github/workflows/ansible-fedora-31.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-fedora-32.yml b/.github/workflows/ansible-fedora-32.yml index e362dd4..4376180 100644 --- a/.github/workflows/ansible-fedora-32.yml +++ b/.github/workflows/ansible-fedora-32.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-fedora-33.yml b/.github/workflows/ansible-fedora-33.yml index 70c52ad..e2809ba 100644 --- a/.github/workflows/ansible-fedora-33.yml +++ b/.github/workflows/ansible-fedora-33.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-fedora-latest.yml b/.github/workflows/ansible-fedora-latest.yml index 7cfbdf7..78fa27f 100644 --- a/.github/workflows/ansible-fedora-latest.yml +++ b/.github/workflows/ansible-fedora-latest.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 0b743f7..4d7dc8e 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -10,13 +10,13 @@ on: jobs: build: - runs-on: ubuntu-latest 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 with: targets: "." diff --git a/.github/workflows/ansible-ubuntu-bionic.yml b/.github/workflows/ansible-ubuntu-bionic.yml index 0f9edd8..0b07870 100644 --- a/.github/workflows/ansible-ubuntu-bionic.yml +++ b/.github/workflows/ansible-ubuntu-bionic.yml @@ -6,13 +6,13 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest 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 with: targets: "./" diff --git a/.github/workflows/ansible-ubuntu-latest.yml b/.github/workflows/ansible-ubuntu-latest.yml index b9544a5..583b6ad 100644 --- a/.github/workflows/ansible-ubuntu-latest.yml +++ b/.github/workflows/ansible-ubuntu-latest.yml @@ -6,11 +6,11 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: 'checkout git repo' + uses: actions/checkout@v3 - name: ansible check with ubuntu:latest uses: roles-ansible/check-ansible-ubuntu-latest-action@master diff --git a/.github/workflows/ansible-ubuntu-trusty.yml b/.github/workflows/ansible-ubuntu-trusty.yml index 6cde8b8..3c265a3 100644 --- a/.github/workflows/ansible-ubuntu-trusty.yml +++ b/.github/workflows/ansible-ubuntu-trusty.yml @@ -6,11 +6,11 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: 'checkout git repo' + uses: actions/checkout@v3 - name: ansible check with ubuntu:trusty uses: roles-ansible/check-ansible-ubuntu-trusty-action@master diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index b5dc0ec..adcecbd 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -12,9 +12,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: checkout - uses: actions/checkout@v2 - - name: galaxy - uses: robertdebock/galaxy-action@1.1.0 + - name: 'checkout git repo' + uses: actions/checkout@v3 + + - name: 'release on galaxy' + uses: robertdebock/galaxy-action@1.2.0 with: galaxy_api_key: ${{ secrets.galaxy_api_key }} + git_branch: 'main' diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index d4ad029..d744e9c 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -13,10 +13,11 @@ jobs: name: 'Yamllint' runs-on: ubuntu-latest steps: - - name: 'Checkout' - uses: actions/checkout@master + - name: 'checkout git repo' + uses: actions/checkout@v3 + - name: 'Yamllint' - uses: karancode/yamllint-github-action@master + uses: karancode/yamllint-github-action@v2.0.0 with: yamllint_file_or_dir: '.' yamllint_config_filepath: './.yamllint'