diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8da1ef8..7a3efd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,5 +37,13 @@ jobs: - name: Fetch code uses: actions/checkout@v4 + - name: Set up Python 3. + uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Install lib dependencies + run: pip3 install netaddr + - name: Run ansible-lint uses: ansible/ansible-lint@v24.7.0 diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 97fe279..e5cd7b3 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -23,6 +23,14 @@ jobs: with: path: "${{ github.repository }}" + - name: Set up Python 3. + uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Install lib dependencies + run: pip3 install netaddr + - name: Molecule uses: gofrolist/molecule-action@v2 with: