Skip to content

chore(deps): update actions/cache action to v4.1.2 #229

chore(deps): update actions/cache action to v4.1.2

chore(deps): update actions/cache action to v4.1.2 #229

Workflow file for this run

---
name: molecule
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
push:
branches:
- main
permissions: read-all
jobs:
molecule-checks:
name: Molecule checks
runs-on: ubuntu-latest
strategy:
matrix:
distro:
- ubuntu2204
- ubuntu2004
- debian10
- fedora33
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
path: ${{ github.event.repository.name }}
- name: Set up Python 3.
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.x
- name: Install test dependencies
run: pip3 install ansible molecule-plugins[docker] docker
- name: Run tests
env:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
MOLECULE_DISTRO: ${{ matrix.distro }}
run: |
cd "${GITHUB_REPOSITORY#*/}"
molecule test