diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 766e0de..e418fa8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,8 +5,6 @@ on: branches: - main pull_request: - branches: - - main workflow_dispatch: schedule: # Daily at 12:00 UTC @@ -20,6 +18,15 @@ env: FORCE_COLOR: 1 jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Run actionlint + uses: reviewdog/action-actionlint@e58ee9d111489c31395fbe4857b0be6e7635dbda # v1.70.0 + test: name: Python ${{ matrix.python-version }} runs-on: ${{ matrix.os }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32479af..0b3ba4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,6 +21,10 @@ repos: hooks: - id: ruff-check - id: ruff-format +- repo: https://github.com/rhysd/actionlint + rev: v1.7.11 + hooks: + - id: actionlint - repo: https://github.com/astral-sh/uv-pre-commit rev: 0.10.2 hooks: