aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/lint-ansible.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/lint-ansible.yaml b/.github/workflows/lint-ansible.yaml
index e9aff07..b16111b 100644
--- a/.github/workflows/lint-ansible.yaml
+++ b/.github/workflows/lint-ansible.yaml
@@ -8,12 +8,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ sparse-checkout: |
+ ansible
+ pyproject.toml
+ poetry.lock
- name: Install Python Dependencies
uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0
with:
- python_version: '3.11'
+ python_version: "3.11"
install_args: --only ansible
+ checkout: false
- name: Run ansible lint
run: |