aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-09-01 15:58:17 +0100
committerGravatar Joe Banks <[email protected]>2024-09-01 15:58:17 +0100
commita020d19617c4f39b5b061f2c9f09ff7d6bdd96fa (patch)
treebf6ba76b1a77c3c97e86fbf39ce39b2c32eda1fd /.github
parentOverride runtime directory permissions (diff)
Update git checkouts in Ansible lint CI stage
Diffstat (limited to '.github')
-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: |