Let's try setup-python action again
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m57s
Details
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m57s
Details
This commit is contained in:
parent
82fee4eb19
commit
be8c4c6554
|
@ -20,15 +20,24 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: ${{ env.DEPLOY == 'some' && 2 || 1 }}
|
fetch-depth: ${{ env.DEPLOY == 'some' && 2 || 1 }}
|
||||||
|
|
||||||
|
# - name: Install dependencies
|
||||||
|
# run: |
|
||||||
|
# apt update
|
||||||
|
# apt install -y python3-pip
|
||||||
|
# pip3 install -r requirements.txt
|
||||||
|
# ansible-galaxy collection install community.general
|
||||||
|
- name: Setup python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.9"
|
||||||
|
cache: pip
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update
|
pip install -r requirements.txt
|
||||||
apt install -y python3-pip
|
|
||||||
pip3 install -r requirements.txt
|
|
||||||
ansible-galaxy collection install community.general
|
ansible-galaxy collection install community.general
|
||||||
|
|
||||||
- name: Check playbooks
|
- name: Check playbooks
|
||||||
|
|
Loading…
Reference in New Issue