Skip to content

Update dependency ansible-core to v2.18.2 (#152) #289

Update dependency ansible-core to v2.18.2 (#152)

Update dependency ansible-core to v2.18.2 (#152) #289

Workflow file for this run

---
name: CI
'on':
pull_request:
push:
branches:
- main
defaults:
run:
working-directory: 'sebdanielsson.cloudflared'
jobs:
lint:
name: Run yaml-lint and ansible-lint
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/[email protected]
molecule:
name: Molecule Test
runs-on: ubuntu-24.04-arm
strategy:
matrix:
include:
- docker_image: debian
docker_tag: '12'
playbook: converge.yml
experimental: false
- docker_image: ubuntu
docker_tag: '22.04'
playbook: converge.yml
experimental: false
- docker_image: fedora
docker_tag: '41'
playbook: converge.yml
experimental: false
- docker_image: redhat/ubi9
docker_tag: '9.4'
playbook: converge.yml
experimental: false
steps:
- name: Check out the codebase
uses: actions/checkout@v4
with:
path: 'sebdanielsson.cloudflared'
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Molecule tests
run: molecule test
continue-on-error: ${{ matrix.experimental }}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DOCKER_IMAGE: ${{ matrix.docker_image }}
MOLECULE_DOCKER_TAG: ${{ matrix.docker_tag }}
MOLECULE_PLAYBOOK: ${{ matrix.playbook }}