Skip to content

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

Merged
merged 36 commits into from
Mar 13, 2025
Merged

chore: add initial CI workflow #473

merged 36 commits into from
Mar 13, 2025

Conversation

mschoettle
Copy link
Member

No description provided.

@mschoettle mschoettle self-assigned this Mar 5, 2025
@mschoettle mschoettle requested a review from staceybeard March 5, 2025 20:45
Copy link
Member

@staceybeard staceybeard left a 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?

Comment on lines +58 to +60
markdownlint:
permissions:
contents: read
Copy link
Member

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?

Copy link
Member Author

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.

@mschoettle
Copy link
Member Author

Looks good. Is this a draft, or ready to go?

It's work in progress. I can't mark it as a draft. I added you too soon :)

@mschoettle mschoettle changed the base branch from main to use-uv March 13, 2025 17:58
Base automatically changed from use-uv to main March 13, 2025 18:45
Copy link
Contributor

@AntonGladyr AntonGladyr left a 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]"
Copy link
Contributor

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?

Copy link
Member Author

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...

Copy link
Member Author

Choose a reason for hiding this comment

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

@mschoettle mschoettle merged commit 4489597 into main Mar 13, 2025
3 checks passed
@mschoettle mschoettle deleted the add-github-actions branch March 13, 2025 19:04
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