Skip to content

chore(deps): bump actions/checkout from 4 to 6 #34

chore(deps): bump actions/checkout from 4 to 6

chore(deps): bump actions/checkout from 4 to 6 #34

Workflow file for this run

name: CI
'on':
workflow_dispatch: {}
pull_request:
types:
- opened
branches:
- 'master'
- 'develop'
push:
branches:
- 'release/*'
defaults:
run:
working-directory: 'mwmahlberg.sssh'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v6
with:
path: 'mwmahlberg.sssh'
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install test dependencies.
run: pip3 install -q yamllint ansible-lint ansible-core
- name: Install ansible collections
run: ansible-galaxy install -r requirements.yml
- name: Lint code.
run: |
yamllint .
- name: Lint Ansible code.
run: |
ansible-lint .
molecule:
name: Molecule
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.13.x'
- '3.12.x'
- '3.11.x'
distro:
- rockylinux9
- fedora42
- fedora41
- ubuntu2404
- ubuntu2204
- debian12
- debian11
steps:
- name: Check out the codebase.
uses: actions/checkout@v6
with:
path: 'mwmahlberg.sssh'
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies.
run: pip3 install -q -r requirements.txt
- name: Run Molecule tests.
run: molecule test -s ci
working-directory: 'mwmahlberg.sssh'
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}
XDG_CONFIG_HOME: ""