Skip to content

Commit 0f176b4

Browse files
committed
Changed github action
1 parent 82e978f commit 0f176b4

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/pr.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,25 @@ jobs:
4949
composer normalize composer.json --dry-run
5050
composer audit
5151
52-
config-check:
53-
name: Check that config is up to date
54-
runs-on: ubuntu-latest
55-
steps:
56-
- uses: actions/checkout@master
52+
config-check:
53+
name: Check that config is up to date
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@master
5757

58-
- name: Install site
59-
run: |
60-
docker network create frontend
61-
docker compose pull
62-
docker compose up --detach
63-
# Important: Use --no-interaction to make https://getcomposer.org/doc/06-config.md#discard-changes have effect.
64-
docker compose exec --user root phpfpm composer install --no-interaction
65-
# Install the site
66-
docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes
67-
- name: Export config
68-
run: docker compose exec --user root phpfpm vendor/bin/drush config:export --yes
69-
- name: Check for changes in config
70-
run: git diff --diff-filter=ACMRT --exit-code config/
58+
- name: Install site
59+
run: |
60+
docker network create frontend
61+
docker compose pull
62+
docker compose up --detach
63+
# Important: Use --no-interaction to make https://getcomposer.org/doc/06-config.md#discard-changes have effect.
64+
docker compose exec --user root phpfpm composer install --no-interaction
65+
# Install the site
66+
docker compose exec --user root phpfpm vendor/bin/drush site:install --existing-config --yes
67+
- name: Export config
68+
run: docker compose exec --user root phpfpm vendor/bin/drush config:export --yes
69+
- name: Check for changes in config
70+
run: git diff --diff-filter=ACMRT --exit-code config/
7171

7272
phpcs:
7373
name: PHP - Check Coding Standards

0 commit comments

Comments
 (0)