mirror of
https://github.com/roles-ansible/ansible_role_acmetool.git
synced 2024-08-16 12:29:49 +02:00
update github actions
This commit is contained in:
parent
59dca52aa9
commit
275bf087da
3 changed files with 10 additions and 8 deletions
5
.github/workflows/ansible-linting-check.yml
vendored
5
.github/workflows/ansible-linting-check.yml
vendored
|
@ -14,9 +14,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Lint Ansible Playbook
|
||||
- name: 'Lint Ansible Playbook'
|
||||
uses: ansible/ansible-lint-action@v6
|
||||
with:
|
||||
targets: "."
|
||||
|
|
6
.github/workflows/galaxy.yml
vendored
6
.github/workflows/galaxy.yml
vendored
|
@ -12,9 +12,11 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
- name: galaxy
|
||||
|
||||
- name: 'release on galaxy'
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
git_branch: 'main'
|
||||
|
|
7
.github/workflows/yamllint.yaml
vendored
7
.github/workflows/yamllint.yaml
vendored
|
@ -7,18 +7,17 @@ on:
|
|||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
schedule:
|
||||
- cron: '23 6 * 3,6,9,12 *'
|
||||
|
||||
jobs:
|
||||
yamllint:
|
||||
name: 'Yamllint'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
- 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'
|
||||
|
|
Loading…
Reference in a new issue