Skip to content

Job steps cleanup #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/yaml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
18 changes: 15 additions & 3 deletions github/workflows/composer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- run: |

- name: Create docker network
run: |
docker network create frontend

- run: |
docker compose run --rm phpfpm composer validate --strict

composer-normalized:
Expand All @@ -52,8 +56,12 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- run: |

- name: Create docker network
run: |
docker network create frontend

- run: |
docker compose run --rm phpfpm composer install
docker compose run --rm phpfpm composer normalize --dry-run

Expand All @@ -63,6 +71,10 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4
- run: |

- name: Create docker network
run: |
docker network create frontend

- run: |
docker compose run --rm phpfpm composer audit
3 changes: 2 additions & 1 deletion github/workflows/drupal-module/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
6 changes: 5 additions & 1 deletion github/workflows/drupal-module/php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |

- name: Create docker network
run: |
docker network create frontend
- run: |
docker compose run --rm phpfpm composer install
docker compose run --rm phpfpm vendor/bin/phpcs
3 changes: 2 additions & 1 deletion github/workflows/drupal-module/styles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
3 changes: 2 additions & 1 deletion github/workflows/drupal/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
6 changes: 5 additions & 1 deletion github/workflows/drupal/php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |

- name: Create docker network
run: |
docker network create frontend

- run: |
docker compose run --rm phpfpm composer install
docker compose run --rm phpfpm vendor/bin/phpcs
11 changes: 8 additions & 3 deletions github/workflows/drupal/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Start docker and install dependencies
- name: Create docker network
run: |
docker network create frontend

- name: Start docker and install dependencies
run: |
docker compose pull
docker compose up --detach

Expand Down Expand Up @@ -71,9 +74,12 @@ jobs:
with:
ref: ${{ github.base_ref }}

- name: Start docker and install dependencies
- name: Create docker network
run: |
docker network create frontend

- name: Start docker and install dependencies
run: |
docker compose pull
docker compose up --detach

Expand Down Expand Up @@ -111,7 +117,6 @@ jobs:

- name: Start docker and install dependencies
run: |
docker network create frontend || true
docker compose pull
docker compose up --detach

Expand Down
3 changes: 2 additions & 1 deletion github/workflows/drupal/styles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
3 changes: 2 additions & 1 deletion github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
3 changes: 2 additions & 1 deletion github/workflows/symfony/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
6 changes: 5 additions & 1 deletion github/workflows/symfony/php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |

- name: Create docker network
run: |
docker network create frontend

- run: |
docker compose run --rm phpfpm composer install
# https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/usage.rst#the-check-command
docker compose run --rm phpfpm vendor/bin/php-cs-fixer fix --dry-run --diff
3 changes: 2 additions & 1 deletion github/workflows/symfony/styles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down
5 changes: 4 additions & 1 deletion github/workflows/twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
docker compose run --rm phpfpm composer install
docker compose run --rm phpfpm vendor/bin/twig-cs-fixer lint
3 changes: 2 additions & 1 deletion github/workflows/yaml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: |
- name: Create docker network
run: |
docker network create frontend

- run: |
Expand Down