Skip to content

Commit

Permalink
Add GitHub Lint Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Caron committed Nov 12, 2022
1 parent f826bec commit 5b67e09
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Lint
'on':
pull_request:
push:
branches:
- master

jobs:

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v3

- name: Set up Python 3.7.
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install test dependencies.
run: pip3 install yamllint ansible-lint ansible

- name: Run yamllint.
run: yamllint .

- name: Run ansible-lint.
run: ansible-lint
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Ansible Role: Proxmox VE Acme Config
=========

![Lint](https://github.com/simoncaron/ansible-role-pve_acme/actions/workflows/lint.yml/badge.svg)

An Ansible Role that configures acme plugin and certificates for a Proxmox VE node.

This role was tested on Proxmox VE 7.2.
Expand Down

0 comments on commit 5b67e09

Please sign in to comment.