mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-15 16:00:19 +01:00
051f5666b2
https://github.com/roles-ansible/check-ansible-ubuntu-latest-action/pull/2 Signed-off-by: Jakub Jelen <jjelen@redhat.com>
32 lines
877 B
YAML
32 lines
877 B
YAML
name: Run Ansible Check on Ubuntu
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ubuntu-latest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
|
- name: checkout PR
|
|
uses: actions/checkout@v2
|
|
|
|
- name: ansible check with ubuntu:latest
|
|
uses: Jakuje/check-ansible-ubuntu-latest-action@patch-1
|
|
with:
|
|
group: local
|
|
hosts: localhost
|
|
targets: "tests/tests_*.yml"
|
|
|
|
ubuntu-20:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
|
- name: checkout PR
|
|
uses: actions/checkout@v2
|
|
|
|
- name: ansible check with ubuntu:20 (focal)
|
|
uses: Jakuje/check-ansible-ubuntu-focal-action@patch-1
|
|
with:
|
|
group: local
|
|
hosts: localhost
|
|
targets: "tests/tests_*.yml"
|