Skip to content

Merge pull request #625 from codemeister64/apcupsd-role #956

Merge pull request #625 from codemeister64/apcupsd-role

Merge pull request #625 from codemeister64/apcupsd-role #956

Workflow file for this run

---
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install test dependencies
run: pip3 install ansible yamllint==1.30.0 ansible-lint==6.14.6
- name: Ansible-lint
run: ansible-lint nas.yml
- name: Lint yaml files
run: yamllint .
- name: Lint docs
uses: articulate/actions-markdownlint@v1
with:
version: 0.32.2