From 534e1faca12fa56e6792a139f75fcf2cbf18485f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amedee=20Van=20Gasse=20=E2=9C=A8=F0=9F=8C=88=F0=9F=A6=84?= Date: Sat, 6 Dec 2025 13:54:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B0=E2=AC=86=EF=B8=8F=20Bump=20CI=20de?= =?UTF-8?q?ps=20and=20tame=20YAML=20lint=20tantrums?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fresh PLANTUML, pinned SCP action, and a shiny pre-commit lineup because “latest” is a lifestyle, not a strategy. --- .gitea/workflows/publish.yaml | 5 +++-- .gitea/workflows/render.yaml | 5 +++-- .pre-commit-config.yaml | 10 +++++++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index eb1c854..270c1b1 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -1,6 +1,7 @@ +--- name: Publish diagram -on: +on: # yamllint disable-line rule:truthy push: branches: - main @@ -24,7 +25,7 @@ jobs: - name: copy puml to workspace run: ls - name: Upload to cdn - uses: appleboy/scp-action@v0.1.7 + uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0 with: host: bruynooghe.dev username: elizhium diff --git a/.gitea/workflows/render.yaml b/.gitea/workflows/render.yaml index 3e42ecb..c41439f 100644 --- a/.gitea/workflows/render.yaml +++ b/.gitea/workflows/render.yaml @@ -1,6 +1,7 @@ +--- name: Render diagram -on: +on: # yamllint disable-line rule:truthy pull_request: types: [opened, reopened, edited] workflow_call: @@ -9,7 +10,7 @@ jobs: render: runs-on: ubuntu-latest env: - PLANTUML_VERSION: '1.2025.4' + PLANTUML_VERSION: '1.2025.10' steps: - name: Check out repository code uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a69227..44bcb2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -9,15 +9,19 @@ repos: args: ['--unsafe'] - id: check-added-large-files - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.0 + rev: 0.35.0 hooks: - id: check-github-actions args: [--verbose] - repo: https://github.com/rhysd/actionlint - rev: v1.7.1 + rev: v1.7.9 hooks: - id: actionlint - repo: https://github.com/jorisroovers/gitlint rev: v0.19.1 hooks: - id: gitlint + - repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update + rev: v0.9.0 + hooks: + - id: pre-commit-update