1
0
Fork 0
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:
L3D 2022-04-07 21:46:37 +02:00
parent 59dca52aa9
commit 275bf087da
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 10 additions and 8 deletions

View file

@ -14,9 +14,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 uses: ansible/ansible-lint-action@v6
with: with:
targets: "." targets: "."

View file

@ -12,9 +12,11 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: checkout - name: 'checkout git repo'
uses: actions/checkout@v3 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 }}
git_branch: 'main'

View file

@ -7,18 +7,17 @@ on:
branches: '*' branches: '*'
pull_request: pull_request:
branches: '*' branches: '*'
schedule:
- cron: '23 6 * 3,6,9,12 *'
jobs: jobs:
yamllint: yamllint:
name: 'Yamllint' name: 'Yamllint'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 'Checkout' - name: 'checkout git repo'
uses: actions/checkout@v3 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'