diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca30e2a1a2..7bbebcb68f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,6 +58,10 @@ jobs: with: show-progress: false + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - uses: ./.github/actions/run_awx_devel id: awx with: @@ -140,6 +144,10 @@ jobs: with: show-progress: false + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + # The containers that GitHub Actions use have Ansible installed, so upgrade to make sure we have the latest version. - name: Upgrade ansible-core run: python3 -m pip install --upgrade ansible-core @@ -166,6 +174,10 @@ jobs: with: show-progress: false + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - uses: ./.github/actions/run_awx_devel id: awx with: @@ -214,6 +226,10 @@ jobs: with: show-progress: false + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Upgrade ansible-core run: python3 -m pip install --upgrade ansible-core diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3d17201f3d..e520ffdae2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,6 +12,10 @@ jobs: with: show-progress: false + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: install tox run: pip install tox diff --git a/.github/workflows/label_pr.yml b/.github/workflows/label_pr.yml index 94d3da7616..a5d5aa861f 100644 --- a/.github/workflows/label_pr.yml +++ b/.github/workflows/label_pr.yml @@ -33,7 +33,10 @@ jobs: with: show-progress: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install python requests run: pip install requests - name: Check if user is a member of Ansible org