Skip to content

Commit 13a1e5c

Browse files
authored
Merge pull request #122 from phug-php/fix/coverage-job
Fix coverage and split jobs
2 parents 1a0911f + 34efb18 commit 13a1e5c

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,11 @@ jobs:
5151

5252
- name: Coverage - Qltysh
5353
uses: qltysh/qlty-action/coverage@v2
54-
if: matrix.coverage
5554
with:
5655
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
5756
files: clover.xml
5857

5958
- name: Coverage - Codecov
60-
if: matrix.coverage
6159
uses: codecov/codecov-action@v5
6260
with:
6361
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/split.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ jobs:
1919
php-version: 8.2
2020
tools: composer:v2
2121

22-
- name: Cache Composer packages
23-
id: composer-cache
24-
uses: actions/cache@v4
25-
with:
26-
path: vendor
27-
key: split-${{ hashFiles('**/composer.lock') }}
28-
restore-keys: |
29-
split-
22+
# - name: Cache Composer packages
23+
# id: composer-cache
24+
# uses: actions/cache@v4
25+
# with:
26+
# path: vendor
27+
# key: split-${{ hashFiles('**/composer.lock') }}
28+
# restore-keys: |
29+
# split-
3030

3131
- name: Install dependencies
3232
if: steps.composer-cache.outputs.cache-hit != 'true'
3333
run: |
3434
test -f composer.json && mv composer.json composer.json.save -f
35-
composer require phug/split --no-interaction
35+
composer require "phug/split:dev-feature/packagist-v2" --no-interaction
3636
test -f composer.json.save && mv composer.json.save composer.json -f
3737
3838
- name: Split monorepository
39-
run: vendor/bin/split update --api=https://repo.packagist.org/p2/%s.json --git-credentials=$REPOSITORY_CREDENTIALS
39+
run: vendor/bin/split update --git-credentials=$SPLIT_REPOSITORY_CREDENTIALS
4040
env:
41-
REPOSITORY_CREDENTIALS: ${{ secrets.REPOSITORY_CREDENTIALS }}
41+
SPLIT_REPOSITORY_CREDENTIALS: ${{ secrets.SPLIT_REPOSITORY_CREDENTIALS }}

0 commit comments

Comments
 (0)