mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-04-27 16:46:26 +00:00
This is a backport of PR #848 as merged into main (159a63a).
SUMMARY
After the release 25.0.0 of ansible-compat the linters in CI become failing. In the ansible-lint issue already created
COMPONENT NAME
.github/workflows/linters.yaml
ADDITIONAL INFORMATION
Fix bug #846
within this commit ansible/ansible-lint is updated to 24.12.2 and the ansible-lint config moved to the .config folder
24 lines
456 B
YAML
24 lines
456 B
YAML
---
|
|
name: Linters
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- stable-*
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
linters:
|
|
uses: ansible-network/github_actions/.github/workflows/tox-linters.yml@main
|
|
ansible-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: run-ansible-lint
|
|
uses: ansible/ansible-lint@v24.12.2
|