diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index bfd5ab814..04c36c59f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -121,8 +121,9 @@ jobs: - name: "Upload composer.lock as build artifact" uses: actions/upload-artifact@v4 with: - name: composer.lock + name: "composer-lock-phpunit-${{ matrix.php-version }}-${{ matrix.dependencies }}-${{ matrix.mongodb-version }}" path: composer.lock + overwrite: true - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 1e403e30c..9c151d825 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -53,8 +53,9 @@ jobs: - name: "Upload composer.lock as build artifact" uses: actions/upload-artifact@v4 with: - name: composer.lock + name: "composer-lock-static-analysis-phpstan" path: composer.lock + overwrite: true - name: "Run a static analysis with phpstan/phpstan" run: "vendor/bin/phpstan analyse --error-format=github" @@ -85,8 +86,9 @@ jobs: - name: "Upload composer.lock as build artifact" uses: actions/upload-artifact@v4 with: - name: composer.lock + name: "composer-lock-static-analysis-psalm" path: composer.lock + overwrite: true - name: "Run a static analysis with vimeo/psalm" run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)"