Skip to content

feat: add shellcheck linting for shell scripts in CI#66

Merged
DeveloperC286 merged 3 commits into
mainfrom
claude/add-shellcheck-ci-UQBo7
Dec 26, 2025
Merged

feat: add shellcheck linting for shell scripts in CI#66
DeveloperC286 merged 3 commits into
mainfrom
claude/add-shellcheck-ci-UQBo7

Conversation

@DeveloperC286
Copy link
Copy Markdown
Owner

Added shellcheck linting to improve code quality and catch potential issues in shell scripts. This includes:

  • New 'check-shellcheck' target in Makefile to run shellcheck on all shell scripts
  • New 'shellcheck' job in CI workflow that runs on both AMD64 and ARM64 runners
  • Lints all shell scripts in ci/ and rust/ci/ directories

Added shellcheck linting to improve code quality and catch potential issues in shell scripts. This includes:
- New 'check-shellcheck' target in Makefile to run shellcheck on all shell scripts
- New 'shellcheck' job in CI workflow that runs on both AMD64 and ARM64 runners
- Lints all shell scripts in ci/ and rust/ci/ directories
Updated shell script checking to match the naming conventions and structure used in the rust directory:
- Renamed check-shellcheck to check-shell-linting for consistency
- Added check-shell-formatting and fix-shell-formatting using shfmt
- Restructured CI workflow to use formatting/linting jobs with language matrix
- Follows the same pattern as rust/.github/workflows/continuous-integration.yml
Updated CI workflow to use Nix for tool installation instead of apt-get:
- Added Setup Nix step to formatting and linting jobs
- Use 'nix develop -c make' instead of direct 'make' commands
- Added shfmt and shellcheck to flake.nix buildInputs
- Matches the approach used in rust/.github/workflows/continuous-integration.yml
@DeveloperC286 DeveloperC286 merged commit bf8c7c0 into main Dec 26, 2025
13 checks passed
@DeveloperC286 DeveloperC286 deleted the claude/add-shellcheck-ci-UQBo7 branch December 26, 2025 11:05
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.

2 participants