Skip to content

Commit

Permalink
Fix: Remove job
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 18, 2023
1 parent 6b630c8 commit 79c02f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 77 deletions.
1 change: 0 additions & 1 deletion .github/settings.yml
Expand Up @@ -21,7 +21,6 @@ branches:
- context: "Refactoring (8.2, locked)"
- context: "Security Analysis (8.2, locked)"
- context: "Static Code Analysis (8.2, locked)"
- context: "Symfony Flex (8.2, locked)"
- context: "Tests (8.2, locked)"
strict: false
restrictions:
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/integrate.yaml
Expand Up @@ -422,82 +422,6 @@ jobs:
- name: "Run vimeo/psalm"
run: "vendor/bin/psalm --config=psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4"

symfony-flex:
name: "Symfony Flex"

runs-on: "ubuntu-latest"

strategy:
matrix:
php-version:
- "8.2"

dependencies:
- "locked"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
ref: "${{ github.head_ref }}"
token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"

- name: "Set up PHP"
uses: "shivammathur/setup-php@2.26.0"
with:
coverage: "none"
extensions: "none, ctype, curl, dom, iconv, json, mbstring, pdo, pdo_mysql, phar, simplexml, tokenizer, xml, xmlwriter"
php-version: "${{ matrix.php-version }}"

- name: "Determine composer cache directory"
uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.8.0"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v3.3.2"
with:
path: "${{ env.COMPOSER_CACHE_DIR }}"
key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-"

- name: "Install ${{ matrix.dependencies }} dependencies with composer"
uses: "ergebnis/.github/actions/composer/install@1.8.0"
with:
dependencies: "${{ matrix.dependencies }}"

- name: "Synchronize symfony/flex recipes"
run: "composer symfony:sync-recipes --ansi"

- name: "Commit symfony.lock"
if: >
github.event_name == 'pull_request' &&
github.event.pull_request.draft == false && (
github.event.action == 'opened' ||
github.event.action == 'reopened' ||
github.event.action == 'synchronize'
) && (
(github.actor == 'dependabot[bot]' && startsWith(github.event.pull_request.title, 'composer(deps)')) ||
(github.actor == 'dependabot[bot]' && startsWith(github.event.pull_request.title, 'composer(deps-dev)'))
)
uses: "stefanzweifel/git-auto-commit-action@v4.16.0"
with:
branch: "${{ github.head_ref }}"
commit_author: "ergebnis-bot <bot@ergebn.is>"
commit_message: "Fix: Update symfony.lock"
commit_user_email: "bot@ergebn.is"
commit_user_name: "ergebnis-bot"
file_pattern: "symfony.lock"

- name: "Verify that symfony.lock is up-to-date"
if: "github.actor != 'dependabot[bot]'"
run: |
diff=$(git diff symfony.lock)
if [[ "${diff}" != "" ]]; then
echo "::error file=symfony.lock::symfony.lock is not up-to-date."
exit 1
fi
tests:
name: "Tests"

Expand Down

0 comments on commit 79c02f3

Please sign in to comment.