Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: lint github actions workflows#13552

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dannykopping merged 4 commits intomainfromdk/lint-actions
Jun 26, 2024
Merged

Conversation

dannykopping
Copy link
Contributor

Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelJun 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
Member

@matifalimatifaliJun 20, 2024
edited
Loading

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

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Good idea 👍 I've pinned to1.6.22 which is the version to which the current commit is pointing.

Copy link
Member

Choose a reason for hiding this comment

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

I suggest we pin to latest availbale just to be sure that linter supports any newly added syntax.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

If we do so, we should update code-server too. Seehttps://github.com/coder/code-server/blob/main/.github/workflows/build.yaml#L142-L152.

@kylecarbs any objections?

@matifalimatifali removed the staleThis issue is like stale bread. labelJun 20, 2024
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykoppingdannykopping merged commitd5d8b91 intomainJun 26, 2024
30 checks passed
@dannykoppingdannykopping deleted the dk/lint-actions branchJune 26, 2024 08:28
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 26, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@matifalimatifalimatifali approved these changes

@kylecarbskylecarbsAwaiting requested review from kylecarbs

Assignees

@dannykoppingdannykopping

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

ci: set up a github workflows linter
2 participants
@dannykopping@matifali

[8]ページ先頭

©2009-2025 Movatter.jp