From 9abe6a0d51780239fecb119c7a54b29fab641e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Sun, 15 Feb 2026 11:10:29 -0600 Subject: [PATCH] ci: Use actionlint in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Edgar Ramírez Mondragón --- .github/workflows/ci.yaml | 11 +++++++++-- .pre-commit-config.yaml | 4 ++++ 2 files changed, 13 insertions(+), 2 deletions(-) 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: