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

incorrect lint on github actions' workflow #40

Closed
0x8f701 opened this issue May 20, 2021 · 3 comments
Closed

incorrect lint on github actions' workflow #40

0x8f701 opened this issue May 20, 2021 · 3 comments

Comments

@0x8f701
Copy link

0x8f701 commented May 20, 2021

image

sometimes I can get incorrect lint on some github actions workflows like:

https://github.com/parallel-finance/parallel/blob/master/.github/workflows/deploy.yml#L1-L7

@0x8f701 0x8f701 changed the title incorrect lint incorrect lint on github actions' workflow May 20, 2021
@0x8f701
Copy link
Author

0x8f701 commented Jun 1, 2021

if I remove the first seven lines then paste back and save, then the errors move down:

image

@timtyrrell
Copy link

timtyrrell commented Jul 26, 2021

Yeah, getting:
[yaml-schema: https://json.schemastore.org/github-workflow.json] [E] Missing property "jobs"

I totally have a jobs property in there.

EDIT: ah, sounds related to this issue: #28 (comment)

@chemzqm
Copy link
Member

chemzqm commented Feb 20, 2022

Use :CocCommand yaml.selectSchema to choose yaml schema.

@chemzqm chemzqm closed this as completed Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants