Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version #419

Closed
jeandoBet opened this issue Aug 6, 2024 · 0 comments · Fixed by #420
Closed

Latest version #419

jeandoBet opened this issue Aug 6, 2024 · 0 comments · Fixed by #420
Assignees
Labels
bug Something isn't working

Comments

@jeandoBet
Copy link

jeandoBet commented Aug 6, 2024

Describe the bug
Latest version is blocked to 0.* , as 1.9.* version is now available.

To Reproduce

    - name: Setup Cloudformation Linter
      uses: scottbrenner/cfn-lint-action@v2

    - name: Print the Cloud Formation Linter Version & run Linter.
      shell: bash
      run: |
        cfn-lint --version

output:

| cfn-lint
| 0.87.10

it should install the latest version, as of today: 1.9.5 .

It works when it's specified :

    - name: Setup Cloudformation Linter
      uses: scottbrenner/cfn-lint-action@v2
      with:
        version: 1.*

    - name: Print the Cloud Formation Linter Version.
      shell: bash
      run: |
        cfn-lint --version

output:

| cfn-lint
| 1.9.5

Additional context
Seems to be due to the default value (0.*) set in :

const version = getInput("version", /^[\d.*]+$/, "0.*");

@jeandoBet jeandoBet added the bug Something isn't working label Aug 6, 2024
@ScottBrenner ScottBrenner self-assigned this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants