Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/php/setup-composer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ runs:
with:
working-directory: ${{ inputs.dev-tools-source-directory }}
composer-options: --prefer-dist --no-plugins --no-scripts
require-lock-file: 'true'
require-lock-file: 'false'
custom-cache-suffix: dev-tools-runtime

- name: Expose DevTools runtime
Expand Down
2 changes: 1 addition & 1 deletion .github/wiki
Submodule wiki updated from 07f4fb to e25637
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Relax workflow fallback Composer install so .dev-tools-actions bootstrap does not require composer.lock when provisioning DevTools runtime in shared GitHub Actions contexts (#342).

## [1.25.4] - 2026-05-11

### Fixed
Expand Down
13 changes: 13 additions & 0 deletions tests/GitHubActions/SetupComposerActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,19 @@ public function detectRuntimeWillPreferTheConsumerLocalInstallation(): void
self::assertSame($resolvedWorkspace . '/vendor/autoload.php', $outputs['autoload']);
}

/**
* @return void
*/
#[Test]
public function fallbackInstallShouldNotRequireComposerLockFile(): void
{
$actionFile = self::ACTION_PATH . '/action.yml';
$actionContents = file_get_contents($actionFile);

self::assertStringContainsString("require-lock-file: 'false'", $actionContents);
self::assertStringNotContainsString("require-lock-file: 'true'", $actionContents);
}

/**
* @return void
*/
Expand Down
Loading