GitHub Actionsでエラーが出たためメモ
Annotations
2 errors and 1 warning
laravel-tests
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- ramsey/collection is locked to version 2.0.0 and an update of this package was not requested.
- ramsey/collection 2.0.0 requires php ^8.1 -> your php version (8.0.26) does not satisfy that requirement.
Problem 2
- symfony/console is locked to version v6.2.3 and an update of this package was not requested.
- symfony/console v6.2.3 requires php >=8.1 -> your php version (8.0.26) does not satisfy that requirement.
Problem 3
- symfony/css-selector is locked to version v6.2.3 and an update of this package was not requested.
- symfony/css-selector v6.2.3 requires php >=8.1 -> your php version (8.0.26) does not satisfy that requirement.
Problem 4
- symfony/deprecation-contracts is locked to version v3.2.0 and an update of this package was not requested.
- symfony/deprecation-contracts v3.2.0 requires php >=8.1 -> your php version (8.0.26) does not satisfy that requirement.
Problem 5
- symfony/error-handler is locked to version v6.2.3 and an update of this package was not requested.
- symfony/error-handler v6.2.3 requires php >=8.1 -> your php version (8.0.26) does not satisfy that requirement.
教えてSenpai
ワークフローのPHPバージョンを8.0
から8.2
にするとなおった。GitHub Codespacesでcomposer install
したのだが、そのときのPHPバージョンが8.2
だったようだった