zfs_dkms/.github/workflows/ansible-lint.yml
Josh Lay 585f44598a
Some checks failed
ansible-lint / ansible-lint (push) Failing after 25s
workflow/requirements: rm freethreading Python/locked-to-RC Ansible
2025-10-19 14:18:41 -05:00

41 lines
910 B
YAML

---
name: ansible-lint
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- master
paths:
- '**/*.yml'
schedule:
- cron: "0 0 * * 0" # weekly, test against potentially-new ansible
jobs:
ansible-lint:
runs-on: ubuntu-24.04 # actually 'ghcr.io/catthehacker/ubuntu:runner-24.04', tagged on runner
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.14'
cache: 'pip'
env:
FORCE_COLOR: '1'
- run: pip install -r requirements.txt
env:
FORCE_COLOR: '1'
- name: cache '.ansible/collections'
id: cache-collections
uses: actions/cache@v4
with:
path: /home/runner/.ansible
key: zfs_dkms-runner-dot-ansible
- run: ansible-lint
env:
ANSIBLE_FORCE_COLOR: '1'