Skip to content

chore(deps): Bump github/codeql-action from 3.26.10 to 3.26.13 #1264

chore(deps): Bump github/codeql-action from 3.26.10 to 3.26.13

chore(deps): Bump github/codeql-action from 3.26.10 to 3.26.13 #1264

Workflow file for this run

---
name: Molecule CI/CD
on:
pull_request:
branches: [main]
push:
branches: [main]
tags-ignore: ["**"]
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
permissions: read-all
jobs:
ansible-lint:
name: Ansible Lint
runs-on: ubuntu-24.04
steps:
- name: Check out the codebase
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set up Python 3
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.x
- name: Install Ansible core and Ansible Lint
run: pip3 install -r .github/workflows/requirements/requirements_ansible_lint.txt
- name: Install Ansible core collection dependencies
run: ansible-galaxy install -r .github/workflows/requirements/requirements_collections.yml
- name: Run Ansible Lint
run: ansible-lint --force-color
molecule:
name: Molecule
runs-on: ubuntu-24.04
env:
NGINX_CRT: ${{ secrets.NGINX_CRT }}
NGINX_KEY: ${{ secrets.NGINX_KEY }}
strategy:
fail-fast: false
matrix:
scenario:
- api_plus
- cleanup_config
- complete
- complete_plus
- default
- push_config
- reverse_proxy
- stub_status
- web_server
needs: ansible-lint
steps:
- name: Check out the codebase
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set up Python 3
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.x
- name: Install Ansible core and Molecule
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
run: pip3 install -r .github/workflows/requirements/requirements_molecule.txt
- name: Install Ansible core collection dependencies
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
run: ansible-galaxy install -r .github/workflows/requirements/requirements_collections.yml
- name: Run Molecule tests
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
run: molecule test -s ${{ matrix.scenario }}
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1