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

feat: lint github actions workflows #13552

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dannykopping
Copy link
Contributor

Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
@github-actions github-actions bot added the stale This issue is like stale bread. label Jun 20, 2024
@@ -191,6 +191,12 @@ jobs:
run: |
make --output-sync=line -j lint

- name: Check workflow files
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/7fdc9630cc360ea1a469eed64ac6d78caeda1234/scripts/download-actionlint.bash)
Copy link
Collaborator

@matifali matifali Jun 20, 2024

Choose a reason for hiding this comment

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

Suggested change
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/7fdc9630cc360ea1a469eed64ac6d78caeda1234/scripts/download-actionlint.bash)
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.7.1

This will make it easier to bump versions while pinning the version.
ref: https://github.com/rhysd/actionlint/blob/main/docs/install.md#download-script

@matifali matifali removed the stale This issue is like stale bread. label Jun 20, 2024
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.

ci: set up a github workflows linter
2 participants