Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Lint GitHub Actions workflows

on:
pull_request:
paths:
- .github/workflows/*.yml

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Check workflow files
uses: reviewdog/action-actionlint@v1
5 changes: 3 additions & 2 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ jobs:
uses: ./.github/actions/setup-python-with-uv

- name: Generate cache id
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
id: cache
run: echo "id=$(date --utc '+%V')" >> "$GITHUB_OUTPUT"

- name: Save cache
uses: actions/cache@v5
with:
key: mkdocs-material-${{ env.cache_id }}
key: mkdocs-material-${{ steps.cache.outputs.id }}
path: .cache
restore-keys: mkdocs-material-

Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ repos:
language: python
types: [python]

- repo: https://github.com/rhysd/actionlint
rev: v1.7.10
hooks:
- id: actionlint

- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
Expand Down