From 479e626a453782ae2a649fcc774a6a19042fe89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 17 Jul 2024 10:13:43 +0200 Subject: [PATCH] Enhancement: Use ergebnis/.github to determine the composer root version --- .github/workflows/integrate.yaml | 27 ++++++++++++++++++++++++--- .github/workflows/renew.yaml | 6 +++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index d15ef78..74e73e9 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -8,9 +8,6 @@ on: # yamllint disable-line rule:truthy branches: - "main" -env: - COMPOSER_ROOT_VERSION: "3.4-dev" - jobs: code-coverage: name: "Code Coverage" @@ -47,6 +44,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" @@ -113,6 +113,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" @@ -181,6 +184,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" @@ -236,6 +242,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" @@ -288,6 +297,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" @@ -347,6 +359,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" @@ -397,6 +412,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" @@ -457,6 +475,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2" diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 11c92eb..92c733e 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -6,9 +6,6 @@ on: # yamllint disable-line rule:truthy schedule: - cron: "0 0 1 1 *" -env: - COMPOSER_ROOT_VERSION: "3.4-dev" - jobs: license: name: "License" @@ -44,6 +41,9 @@ jobs: - name: "Validate composer.json and composer.lock" run: "composer validate --ansi --strict" + - name: "Determine composer root version" + uses: "ergebnis/.github/actions/composer/determine-root-version@1.9.2" + - name: "Determine composer cache directory" uses: "ergebnis/.github/actions/composer/determine-cache-directory@1.9.2"