Skip to content

Commit 9196c7d

Browse files
authored
feat: switch back to projek-xyz/actions workflows (#76)
- [x] Apply projek-xyz/actions#1
2 parents 33dcb45 + 252817c commit 9196c7d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ on:
88
jobs:
99
publish:
1010
name: Publish Release
11-
uses: feryardiant/actions/.github/workflows/release.yml@main
11+
uses: projek-xyz/actions/.github/workflows/release.yml@main

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ env:
1818
jobs:
1919
prepare:
2020
name: Prepare
21-
uses: feryardiant/actions/.github/workflows/configure.yml@main
21+
uses: projek-xyz/actions/.github/workflows/configure.yml@main
22+
with:
23+
php-version: 8.2
2224
secrets:
2325
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
2426

@@ -66,7 +68,7 @@ jobs:
6668
composer test -- --coverage
6769
6870
- name: Generate reports for CodeClimate
69-
if: needs.prepare.outputs.has-codeclimate == 'true'
71+
if: needs.prepare.outputs.has-codeclimate == '1'
7072
id: reports
7173
env:
7274
COVERAGE_FILE: tests/reports/clover.xml
@@ -78,17 +80,17 @@ jobs:
7880
7981
- name: Upload tests reports
8082
uses: actions/upload-artifact@v4
81-
if: needs.prepare.outputs.has-codeclimate == 'true'
83+
if: needs.prepare.outputs.has-codeclimate == '1'
8284
with:
8385
name: test-reports-${{ matrix.php }}
84-
path: tests/reports
86+
path: tests/reports/codeclimate.*.json
8587

8688
reports:
8789
name: Reports
8890
needs: [prepare, tests]
8991
if: needs.prepare.outputs.should-reports == '1'
90-
uses: feryardiant/actions/.github/workflows/report.yml@main
92+
uses: projek-xyz/actions/.github/workflows/report.yml@main
9193
secrets:
9294
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
9395
with:
94-
has-codeclimate: ${{ needs.prepare.outputs.has-codeclimate == 'true' }}
96+
has-codeclimate: ${{ needs.prepare.outputs.has-codeclimate == '1' }}

0 commit comments

Comments
 (0)