Skip to content

Bump actions/checkout from 3 to 4 #25

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #25

Workflow file for this run

---
name: Lint
on:
pull_request:
branches:
- main
jobs:
ansible-lint:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: pip3 install -r requirements.txt
- name: Lint ansible
uses: wandansible/action-ansible-lint@v1
jinja2-lint:
name: Jinja2 Lint
runs-on: ubuntu-latest
env:
J2LINT_FILES_REGEX: '^templates/.+$'
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint jinja2 files
uses: wandansible/action-j2lint@v1