Fix version php_modules/pdo_sqlsrv & php_modules/sqlsrv for php 7.4 #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# ------------------------------------------------------------------------------------------------- | |
# Job Name | |
# ------------------------------------------------------------------------------------------------- | |
name: generator | |
# ------------------------------------------------------------------------------------------------- | |
# When to run | |
# ------------------------------------------------------------------------------------------------- | |
on: | |
# Runs on Pull Requests | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- '.ansible/**' | |
- '.github/workflows/action.yml' | |
- '.github/workflows/params.yml' | |
- 'Dockerfiles/**' | |
- 'php_modules/**' | |
- 'php_tools/**' | |
- 'tests/**' | |
- 'Makefile' | |
- '!**.md' | |
- '!.ansible/ansible.cfg' | |
# ------------------------------------------------------------------------------------------------- | |
# What to run | |
# ------------------------------------------------------------------------------------------------- | |
jobs: | |
generator: | |
name: "Generator" | |
runs-on: ubuntu-latest | |
steps: | |
# ------------------------------------------------------------ | |
# Setup repository | |
# ------------------------------------------------------------ | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install required Python packages | |
run: | | |
pip install yamllib | |
pip install typing | |
# ------------------------------------------------------------ | |
# Lint repository | |
# ------------------------------------------------------------ | |
- name: Lint Changelog | |
run: | | |
make lint-changelog | |
- name: Diff generated Docker files | |
run: | | |
make gen-dockerfiles | |
git diff --quiet || { echo "Build Changes"; git diff; git status; false; } |