diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1644386..2eb3419 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,8 +19,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 # If you only need the current version keep this. - uses: ./.github/actions/ci with: @@ -39,8 +37,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 # If you only need the current version keep this. - name: Install php support run: choco install -y php --version=${{ matrix.php-version }} --force diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e7f35ad..26532f8 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 if: ${{ steps.release.outputs.releases_created == 'true' }} with: - fetch-depth: 0 # If you only need the current version keep this. + fetch-depth: 0 # Full history is required for proper changelog generation - name: Build and Test if: ${{ steps.release.outputs.releases_created == 'true' }} diff --git a/tests/ProviderTest.php b/tests/ProviderTest.php index ff50f28..9c49eff 100644 --- a/tests/ProviderTest.php +++ b/tests/ProviderTest.php @@ -63,7 +63,7 @@ public function testEvaluationErrorResultsAreConvertedCorrectly(): void /** @var ResolutionError */ $error = $resolutionDetails->getError(); - $this->assertEquals(ErrorCode::GENERAL(), $error->getResolutionErrorCode()); + $this->assertEquals(ErrorCode::FLAG_NOT_FOUND(), $error->getResolutionErrorCode()); } public function testInvalidTypesGenerateTypeMismatchResults(): void