From 2ef95d29d6fe1bfc52252f4510380e0314ea98a0 Mon Sep 17 00:00:00 2001 From: Mario Finelli Date: Thu, 21 Aug 2025 11:25:50 +0200 Subject: [PATCH] Remove setup-python action Ansible (and ansible-core) is already installed in the runner images which should be enough to interact with ansible galaxy without needing to install any additional packages. --- .github/workflows/galaxy.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index acae195..07fa1d6 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -25,18 +25,6 @@ jobs: [ "$(cat galaxy.yml | grep version: | awk '{print $2}')" = $(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF}) ] || exit 1 echo "version=$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF})" >> $GITHUB_OUTPUT - - name: "Set up Python" - uses: actions/setup-python@v5 - with: - python-version: "3.13" - cache: 'pip' - - - name: Install pip packages - run: | - pip3 install -U pip - pip3 install wheel - pip3 install ansible-core - - name: Deploy collection run: | ansible-galaxy collection build