Skip to content

[CI] Add shellcheck linting workflow #4

@passwordless-OTP

Description

@passwordless-OTP

Add GitHub Actions workflow to run shellcheck on all plugins.

Requirements

  • shellcheck all .plugin.zsh files
  • Fail on warnings
  • Run on PRs
  • Run on main branch pushes

Workflow

name: Lint
on: [push, pull_request]
jobs:
  shellcheck:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Run shellcheck
        run: |
          find . -name '*.plugin.zsh' -exec shellcheck {} \;

/label ci,enhancement
/milestone v0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions