Skip to content

Fix publishing to galaxy #7

Fix publishing to galaxy

Fix publishing to galaxy #7

Workflow file for this run

name: Run ansible-lint
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches:
- main
- stable/*
tags:
- '*'
pull_request:
workflow_dispatch:
jobs:
ansible-lint:
name: Ansible lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
id: setup_python
with:
python-version: "3.12"
- name: Install uv (pip alternative)
id: setup_uv
# Docs: https://github.com/astral-sh/uv?tab=readme-ov-file#getting-started
run: |
pip install uv
shell: bash
- name: Install Python dependencies
run: |
uv pip install \
--system \
-r requirements.txt
shell: bash
- name: Run ansible-lint
run: ansible-lint roles plugins meta galaxy.yml