Skip to content

Bump actions/checkout from 2 to 4 #450

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #450

# Github action to run Molecule for "mongo"
name: mongo
on:
push:
paths:
- 'roles/mongo/**'
- 'molecule/mongo/**'
- '.github/workflows/molecule-mongo.yml'
pull_request:
paths:
- 'roles/mongo/**'
- 'molecule/mongo/**'
- '.github/workflows/molecule-mongo.yml'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Installing dependencies
run: pip install jinja2 ansible molecule molecule-docker pytest-testinfra pytest setuptools
- name: Run role tests
run: molecule test -s mongo