Closed
Description
I tried to define the composer version as described here in the readme file.
If I only define the major-version the workflow file looks like this
name: Validate
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- name: Validate dependencies
uses: php-actions/composer@v6.0.0
with:
command: validate
php_version: "8.0.1"
version: 2
and the workflow passes
if I change the version to 2.2, 2.x or "2.2" they all fail.
The failed workflows can be seen below and the debug logs are also preserved in a private gist
Version | Workflow | Logs
2.2 | failed | log
2.x | failed | log
"2.2" | failed | log
What am I doing wrong?
Metadata
Metadata
Assignees
Labels
No labels