mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
There seems to be a bug in older versions of ansible-lint where pinning to a version for the GHA still installs the main branch.
25 lines
456 B
YAML
25 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.2.3
|