-
Notifications
You must be signed in to change notification settings - Fork 1
chore: add initial CI workflow #473
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Is this a draft, or ready to go?
markdownlint: | ||
permissions: | ||
contents: read |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is markdownlint
separate from lint
for a functional reason? Or just by preference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is separate to make it reusable since we use it in several projects. It's because we use a separate formatter when running in CI.
It's work in progress. I can't mark it as a draft. I added you too soon :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
# actionlint has a shellcheck integration which extracts shell scripts in `run:` steps from GitHub Actions | ||
# and checks these with shellcheck. This is arguably its most useful feature, | ||
# but the integration only works if shellcheck is installed | ||
- "github.com/wasilibs/go-shellcheck/cmd/[email protected]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason you used go-shellcheck
instead of https://github.com/koalaman/shellcheck
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source: https://github.com/astral-sh/ruff/blob/main/.pre-commit-config.yaml#L122
I remember seeing a discussion about this which I can't find right now. I believe the reason was that it will work on any platform this way...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.