Skip to content

ci: add support for ruff format and linting #118

ci: add support for ruff format and linting

ci: add support for ruff format and linting #118

# We only support ansible-core versions that are not EOL
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html
name: sanity
on:
pull_request:
push:
branches:
- main
# schedule:
# - cron: '0 6 * * *'
workflow_dispatch:
jobs:
sanity:
timeout-minutes: 30
name: Sanity (Ⓐ$${{ matrix.ansible }})
strategy:
matrix:
ansible:
- stable-2.16
- stable-2.17
- stable-2.18
- devel
runs-on: ubuntu-latest
steps:
- name: Perform testing
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: ${{ matrix.ansible }}
origin-python-version: 3.11
target-python-version: 3.11
testing-type: sanity