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

Errors in the Capitalization of keys is not detected as an error #302

Closed
pmav99 opened this issue Jun 5, 2023 · 1 comment
Closed

Errors in the Capitalization of keys is not detected as an error #302

pmav99 opened this issue Jun 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pmav99
Copy link

pmav99 commented Jun 5, 2023

actionlint does not seem to detect errors in the capitalization of keys. For example run vs ruN. The latter prevents the action from running altogether with the following error:

Error: .github#L1
every step must define a `uses` or `run` key

Nevertheless, actionlint says that there are no issues whatsoever.

Sample yaml file:

---

name: "Action Name"

on:
  push:

jobs:
  run_tests:
    name: "Test stacked environments"
    runs-on: "ubuntu-latest"

    steps:
      - ruN: echo "${PATH}"
@rhysd rhysd added the enhancement New feature or request label Jun 6, 2023
@rhysd
Copy link
Owner

rhysd commented Jul 15, 2023

Some keys are case sensitive and some other keys are not. This needs more investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants