Skip to content

test: add ansible 2.16 #223

test: add ansible 2.16

test: add ansible 2.16 #223

Workflow file for this run

---
name: lint
on:
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
push:
branches:
- main
- stable-*
pull_request:
# Run CI once per day (at 06:00 UTC)
# This ensures that even if there haven't been commits that we are still testing against latest version of ansible-test for each ansible-base version
# schedule:
# - cron: '0 6 * * *'
workflow_dispatch:
# To avoid conflict with shared lint task, not setting anything here
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}-${{ github.action }}
# cancel-in-progress: true
permissions:
pull-requests: write
checks: write
contents: read
jobs:
lint:
uses: delineaxpm/github-workflows/.github/workflows/lint.yml@main
secrets: inherit
ansible-lint:
name: ansible-lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: ansible-lint
uses: reviewdog/[email protected]
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Change reporter.
ansiblelint_flags: -x core playbook/*
# customize ansible lint with: https://ansible-lint.readthedocs.io/en/latest/configuring/