From ab2bde71d4c36a710576e56397430bb86bd68703 Mon Sep 17 00:00:00 2001
From: frack113 <62423083+frack113@users.noreply.github.com>
Date: Thu, 25 Jun 2026 06:46:11 +0200
Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=92=20Pin=20all=20GitHub=20Actions?=
=?UTF-8?q?=20to=20commit=20SHAs=20and=20update=20versions?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/audit.yaml | 2 +-
.github/workflows/build.yaml | 8 +++++---
.github/workflows/lint.yaml | 8 ++++----
.github/workflows/release.yaml | 12 +++++++-----
.yamllint.yaml | 2 ++
5 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml
index 698e7aa..8c925b7 100644
--- a/.github/workflows/audit.yaml
+++ b/.github/workflows/audit.yaml
@@ -14,6 +14,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7
- name: Audit dependencies
- uses: EmbarkStudios/cargo-deny-action@v2
+ uses: EmbarkStudios/cargo-deny-action@v2.0.20
with:
command: check advisories
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index f5882ad..a8d4070 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -20,9 +20,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7
- name: Install Rust toolchain
- uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
+ uses: dtolnay/rust-toolchain@stable
- name: Add caching
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
+ uses: Swatinem/rust-cache@v2.9.1
- name: Build Rust code
run: cargo build -v --workspace --all-targets --all-features
- name: Run Rust tests
@@ -34,7 +34,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7
- name: Install cargo-hack
- uses: taiki-e/install-action@d07a59dee61edfde33db2141efcd440175f2238b # cargo-hack
+ uses: taiki-e/install-action@v2.82.1
+ with:
+ tool: cargo-hack
- name: Check MSRV
run: |-
cargo hack check `
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index d753c47..a3f8e2f 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -39,7 +39,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7
- name: Lint Markdown code
- uses: DavidAnson/markdownlint-cli2-action@v23
+ uses: DavidAnson/markdownlint-cli2-action@v23.2.0
svglint:
name: Lint with svglint
runs-on: ubuntu-latest
@@ -64,7 +64,7 @@ jobs:
with:
components: clippy
- name: Add caching
- uses: Swatinem/rust-cache@v2
+ uses: Swatinem/rust-cache@v2.9.1
- name: Lint Rust code
run: |-
cargo clippy `
@@ -79,7 +79,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7
- name: Lint Rust code
- uses: EmbarkStudios/cargo-deny-action@v2
+ uses: EmbarkStudios/cargo-deny-action@v2.0.20
with:
command: check bans licenses sources
cargo-outdated:
@@ -91,7 +91,7 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Add caching
- uses: Swatinem/rust-cache@v2
+ uses: Swatinem/rust-cache@v2.9.1
- name: Install cargo-outdated
run: cargo install --locked cargo-outdated
- name: Lint Rust code
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 564409b..31a8e4c 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -20,10 +20,12 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- - name: Install typos
- uses: taiki-e/install-action@typos
- - name: Install git-cliff
- uses: taiki-e/install-action@git-cliff
+ - name: Install tools
+ uses: taiki-e/install-action@v2.82.1
+ with:
+ tool: |
+ typos
+ git-cliff
- name: Generate changelog
run: git-cliff --latest -o
- name: Release project
@@ -41,7 +43,7 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Add caching
- uses: Swatinem/rust-cache@v2
+ uses: Swatinem/rust-cache@v2.9.1
- name: Publish the crate
run: |-
cargo publish `
diff --git a/.yamllint.yaml b/.yamllint.yaml
index c7d09d8..abf7532 100644
--- a/.yamllint.yaml
+++ b/.yamllint.yaml
@@ -4,5 +4,7 @@
# SPDX-License-Identifier: CC0-1.0
extends: default
rules:
+ line-length:
+ max: 120
truthy:
check-keys: false
From 47a73f01d59a5f63457a9aaa93e71183e600cbc9 Mon Sep 17 00:00:00 2001
From: frack113 <62423083+frack113@users.noreply.github.com>
Date: Thu, 25 Jun 2026 06:55:44 +0200
Subject: [PATCH 2/3] ci: format SVGs with svgo
---
docs/assets/logo.svg | 4 +++-
media/logo.svg | 5 ++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/docs/assets/logo.svg b/docs/assets/logo.svg
index 41c57d1..87b8cdc 100644
--- a/docs/assets/logo.svg
+++ b/docs/assets/logo.svg
@@ -1 +1,3 @@
-
\ No newline at end of file
+
diff --git a/media/logo.svg b/media/logo.svg
index ed4efe5..8a9b84d 100644
--- a/media/logo.svg
+++ b/media/logo.svg
@@ -1 +1,4 @@
-
\ No newline at end of file
+
From 35433ad631a9c138c815378d9ffe81836e2323e0 Mon Sep 17 00:00:00 2001
From: frack113 <62423083+frack113@users.noreply.github.com>
Date: Fri, 26 Jun 2026 06:48:00 +0200
Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=A7=20yamllint:=20replace=20max=3D?=
=?UTF-8?q?120=20with=20allow-non-breakable-words?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/format.yaml | 5 +++--
.yamllint.yaml | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 9ec3c61..0dcd0c8 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -45,8 +45,9 @@ jobs:
version: '10'
standalone: true
- name: Check SVG formatting
- run: git ls-files -z -- '*.svg' | xargs -0 -r pnpx svgo --pretty && git diff
- --exit-code
+ run: >-
+ git ls-files -z -- '*.svg' | xargs -0 -r pnpx svgo --pretty
+ && git diff --exit-code
rustfmt:
name: Check formatting with rustfmt
runs-on: ubuntu-latest
diff --git a/.yamllint.yaml b/.yamllint.yaml
index abf7532..ef47d87 100644
--- a/.yamllint.yaml
+++ b/.yamllint.yaml
@@ -5,6 +5,7 @@
extends: default
rules:
line-length:
- max: 120
+ allow-non-breakable-words: true
+ allow-non-breakable-inline-mappings: true
truthy:
check-keys: false