Skip to content

Commit bd60280

Browse files
ci: Use actionlint in CI (#112)
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
1 parent 91b5fa8 commit bd60280

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches:
66
- main
77
pull_request:
8-
branches:
9-
- main
108
workflow_dispatch:
119
schedule:
1210
# Daily at 12:00 UTC
@@ -20,6 +18,15 @@ env:
2018
FORCE_COLOR: 1
2119

2220
jobs:
21+
actionlint:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26+
27+
- name: Run actionlint
28+
uses: reviewdog/action-actionlint@e58ee9d111489c31395fbe4857b0be6e7635dbda # v1.70.0
29+
2330
test:
2431
name: Python ${{ matrix.python-version }}
2532
runs-on: ${{ matrix.os }}

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ repos:
2121
hooks:
2222
- id: ruff-check
2323
- id: ruff-format
24+
- repo: https://github.com/rhysd/actionlint
25+
rev: v1.7.11
26+
hooks:
27+
- id: actionlint
2428
- repo: https://github.com/astral-sh/uv-pre-commit
2529
rev: 0.10.2
2630
hooks:

0 commit comments

Comments
 (0)