Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 5

YAML validator for Github Actions (possible expansion of variables) ?

Hello,

 

Are there any efforts to release a validator for the new workflows written in yaml?

Pushing code and then seeing error is frustrating

 

Gitlab Workflow extension for VSCode already support similar functionality.

4 Replies
Copilot Lvl 2
Message 2 of 5

Re: YAML validator for Github Actions (possible expansion of variables) ?

++

 

would be great to have a linter/validator or cli tool for local try out. act works only for hcl syntax :(

Community Manager
Message 3 of 5

Re: YAML validator for Github Actions (possible expansion of variables) ?

We appreciate the feedback. I'll pass it along to the appropriate teams!


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

GitHub Staff
Message 4 of 5

Re: YAML validator for Github Actions (possible expansion of variables) ?

We're actively working on improving editing with validation, autocomplete etc. The first version of this will be in the GitHub UI. Then we'll improve from there (including plugins for editors is a great idea).

Copilot Lvl 2
Message 5 of 5

Re: YAML validator for Github Actions (possible expansion of variables) ?

I'm happy if I can use yaml reference.

 

```yaml

  job-config&job-config
    runs-onubuntu-latest
    strategy:
      matrix:
        node-version: [12.x]
```
 
Is there any repository that I can post an issue?
Where should I subscribe?
 
I couldn't find "validation" or "cli" from https://github.com/actions.
Thank you in advance!