Skip to content

chore(deps): update actions/stale action to v9.1.0 #244

chore(deps): update actions/stale action to v9.1.0

chore(deps): update actions/stale action to v9.1.0 #244

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:
- debian10
- fedora33
- ubuntu2004
- ubuntu2204
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: ${{ github.event.repository.name }}
- name: Set up Python 3.
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.x
- name: Install test dependencies
run: |
set -euxo pipefail
pip3 install ansible molecule-plugins[docker] docker
if [ -f "${GITHUB_REPOSITORY#*/}/requirements.yml" ]; then
ansible-galaxy install -r "${GITHUB_REPOSITORY#*/}/requirements.yml"
fi
- name: Run tests
env:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
MOLECULE_DISTRO: ${{ matrix.distro }}
run: |
cd "${GITHUB_REPOSITORY#*/}"
molecule test