From bd0978e10949c12e02397e8b944df51567bf819e Mon Sep 17 00:00:00 2001 From: Arthurdw Date: Mon, 23 Feb 2026 11:15:55 +0100 Subject: [PATCH 1/2] fix: resolve small ci/cd checks/issues that weren't obvious to be broken yet --- .github/workflows/ci.yml | 18 ++++++++---------- .markdownlintignore | 1 + 2 files changed, 9 insertions(+), 10 deletions(-) create mode 100644 .markdownlintignore diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 162fa2b..8a2b573 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,16 +49,14 @@ jobs: env: RUSTDOCFLAGS: -D warnings - # TODO: Re-enable semver checks after v0.1.0 is published to crates.io - # Currently disabled because the baseline (v0.0.0) is a placeholder crate with no lib target - # - uses: obi1kenobi/cargo-semver-checks-action@v2 - # with: - # feature-group: only-explicit-features - # features: async,reqwest-client,rustls-tls - # - uses: obi1kenobi/cargo-semver-checks-action@v2 - # with: - # feature-group: only-explicit-features - # features: blocking,ureq-client + - uses: obi1kenobi/cargo-semver-checks-action@v2 + with: + feature-group: only-explicit-features + features: async,reqwest-client,rustls-tls + - uses: obi1kenobi/cargo-semver-checks-action@v2 + with: + feature-group: only-explicit-features + features: blocking,ureq-client nightly: name: Nightly diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 0000000..1b763b1 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1 @@ +CHANGELOG.md From ee668514d4c9ff8bd9b8a430d11524c1cddeac76 Mon Sep 17 00:00:00 2001 From: Arthurdw Date: Mon, 23 Feb 2026 11:35:30 +0100 Subject: [PATCH 2/2] fix: resolve mdlint issues --- .markdownlint-cli2.jsonc | 3 +++ .markdownlintignore | 1 - .pre-commit-config.yaml | 7 ++++--- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .markdownlint-cli2.jsonc delete mode 100644 .markdownlintignore diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc new file mode 100644 index 0000000..a5b0739 --- /dev/null +++ b/.markdownlint-cli2.jsonc @@ -0,0 +1,3 @@ +{ + "ignores": ["CHANGELOG.md", "target/"] +} diff --git a/.markdownlintignore b/.markdownlintignore deleted file mode 100644 index 1b763b1..0000000 --- a/.markdownlintignore +++ /dev/null @@ -1 +0,0 @@ -CHANGELOG.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9213bdc..12d33a6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,15 +4,16 @@ repos: hooks: - id: trailing-whitespace - id: end-of-file-fixer + exclude: ^CHANGELOG\.md$ - id: check-yaml - id: check-toml - id: check-merge-conflict - id: check-added-large-files - - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.43.0 + - repo: https://github.com/DavidAnson/markdownlint-cli2 + rev: v0.21.0 hooks: - - id: markdownlint + - id: markdownlint-cli2 args: ["--fix"] - repo: local