Skip to content

ci: fix CUE linter - #2159

Merged
marcosnils merged 1 commit into
dagger:mainfrom
aluzzardi:ci-fix-cue-lint
Apr 13, 2022
Merged

marcosnils merged 1 commit into
dagger:mainfrom
aluzzardi:ci-fix-cue-lint

Conversation

@aluzzardi

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Andrea Luzzardi <[email protected]>
Comment thread ci/cue/lint.cue
bash.#Run & {
workdir: "/cue"
script: contents: #"""
git status

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't do anything, right? I assume it's there to validate that git status works?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does bash.Run has -e set by default? Otherwise, this won't help either 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 .. yeah.. sub shells are tricky.

@marcosnils
marcosnils merged commit 464c7ad into dagger:main Apr 13, 2022
@aluzzardi
aluzzardi deleted the ci-fix-cue-lint branch April 13, 2022 01:09
@gerhard

gerhard commented Apr 13, 2022 •

Copy link
Copy Markdown
Contributor

@suukit is wondering how this could be used outside of the dagger repo.

Could we provide an example that shows how this is imported & used?

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

Successfully merging this pull request may close these issues.

3 participants