diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index 41518c8..c05cd3b 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -20,15 +20,24 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: 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 run: | - apt update - apt install -y python3-pip - pip3 install -r requirements.txt + pip install -r requirements.txt ansible-galaxy collection install community.general - name: Check playbooks