24 lines
601 B
YAML
24 lines
601 B
YAML
---
|
||
name: Check Ansible Role
|
||
|
||
on: # yamllint disable-line rule:truthy
|
||
push:
|
||
branches: [master]
|
||
pull_request:
|
||
branches: [master]
|
||
|
||
jobs:
|
||
lint:
|
||
# The GitHub-hosted runners don’t do Fedora
|
||
runs-on: ubuntu-latest
|
||
|
||
steps:
|
||
- name: Check out sources
|
||
uses: actions/checkout@v2
|
||
|
||
# This can be pinned to a specific tag after something newer than v4.1.0.post0 materializes.
|
||
# https://github.com/ansible/ansible-lint-action/commit/91db49755c0e720d9eac9d3a481c227d3d14faf6
|
||
- name: Lint
|
||
uses: ansible/ansible-lint-action@master
|
||
with:
|
||
targets: ./
|