diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e0a180..385992b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,4 +8,4 @@ on: jobs: publish: name: Publish Release - uses: feryardiant/actions/.github/workflows/release.yml@main + uses: projek-xyz/actions/.github/workflows/release.yml@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf9d461..4e422a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,9 @@ concurrency: jobs: configs: name: Configure - uses: feryardiant/actions/.github/workflows/configure.yml@main + uses: projek-xyz/actions/.github/workflows/configure.yml@main + with: + php-version: 8.2 secrets: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} @@ -158,7 +160,7 @@ jobs: - name: Generate reports for CodeClimate id: reports - if: needs.configs.outputs.has-codeclimate == 'true' + if: needs.configs.outputs.has-codeclimate == '1' env: CODECLIMATE_REPORT: tests/reports/codeclimate.PHP${{ matrix.php }}-L${{ matrix.laravel }}-${{ matrix.db }}.json CC_TEST_REPORTER_URL: ${{ vars.CC_TEST_REPORTER_URL }} @@ -168,19 +170,19 @@ jobs: - name: Upload tests reports uses: actions/upload-artifact@v4 - if: needs.configs.outputs.has-codeclimate == 'true' + if: needs.configs.outputs.has-codeclimate == '1' with: name: test-reports-PHP${{ matrix.php }}-L${{ matrix.laravel }}-${{ matrix.db }} - path: tests/reports/codeclimate.PHP${{ matrix.php }}-L${{ matrix.laravel }}-${{ matrix.db }}.json + path: tests/reports/codeclimate.*.json reports: name: Report Test Coverages needs: [configs, tests] if: needs.configs.outputs.should-reports == '1' - uses: feryardiant/actions/.github/workflows/report.yml@main + uses: projek-xyz/actions/.github/workflows/report.yml@main secrets: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: - has-coveralls: ${{ needs.configs.outputs.has-coveralls == 'true' }} - has-codeclimate: ${{ needs.configs.outputs.has-codeclimate == 'true' }} + has-coveralls: ${{ needs.configs.outputs.has-coveralls == '1' }} + has-codeclimate: ${{ needs.configs.outputs.has-codeclimate == '1' }}