Skip to content

update ci.yml

update ci.yml #19

Workflow file for this run

---
name: CI
on:
- push
- pull_request
jobs:
lint:
name: linter
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: pip3 install yamllint ansible-lint
- name: Lint YAML
run: yamllint .
- name: Lint Ansible
run: ansible-lint .