🧰⬆️ Bump CI deps and tame YAML lint tantrums

Fresh PLANTUML, pinned SCP action, and a shiny pre-commit lineup because “latest” is a lifestyle, not a strategy.
This commit is contained in:
Amedee Van Gasse ✨🌈🦄
2025-12-06 13:54:35 +01:00
parent 1eeaf9fee1
commit 534e1faca1
3 changed files with 13 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
---
name: Publish diagram name: Publish diagram
on: on: # yamllint disable-line rule:truthy
push: push:
branches: branches:
- main - main
@@ -24,7 +25,7 @@ jobs:
- name: copy puml to workspace - name: copy puml to workspace
run: ls run: ls
- name: Upload to cdn - name: Upload to cdn
uses: appleboy/scp-action@v0.1.7 uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0
with: with:
host: bruynooghe.dev host: bruynooghe.dev
username: elizhium username: elizhium

View File

@@ -1,6 +1,7 @@
---
name: Render diagram name: Render diagram
on: on: # yamllint disable-line rule:truthy
pull_request: pull_request:
types: [opened, reopened, edited] types: [opened, reopened, edited]
workflow_call: workflow_call:
@@ -9,7 +10,7 @@ jobs:
render: render:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
PLANTUML_VERSION: '1.2025.4' PLANTUML_VERSION: '1.2025.10'
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@@ -1,7 +1,7 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 rev: v6.0.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@@ -9,15 +9,19 @@ repos:
args: ['--unsafe'] args: ['--unsafe']
- id: check-added-large-files - id: check-added-large-files
- repo: https://github.com/python-jsonschema/check-jsonschema - repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.0 rev: 0.35.0
hooks: hooks:
- id: check-github-actions - id: check-github-actions
args: [--verbose] args: [--verbose]
- repo: https://github.com/rhysd/actionlint - repo: https://github.com/rhysd/actionlint
rev: v1.7.1 rev: v1.7.9
hooks: hooks:
- id: actionlint - id: actionlint
- repo: https://github.com/jorisroovers/gitlint - repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1 rev: v0.19.1
hooks: hooks:
- id: gitlint - id: gitlint
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
rev: v0.9.0
hooks:
- id: pre-commit-update