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

[chore] add shellcheck to CI #3664

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/shellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: shellcheck
on:
push:
branches:
- main
pull_request:
permissions: {}

jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-24.04
env:
VERSION: v0.10.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you ensure renovate updates this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can open an issue for it, I don't know how to do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#3676 is open

steps:
- uses: actions/checkout@v4
- name: shellcheck ci scripts
uses: ludeeus/[email protected]
env:
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
with:
scandir: ".ci"
severity: warning
version: ${{ env.VERSION }}
- name: shellcheck hack scripts
uses: ludeeus/[email protected]
env:
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
with:
scandir: "hack"
severity: warning
version: ${{ env.VERSION }}
Loading