From 85f6031d4746d82c931ae6340a63ae86f5a95aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Fri, 14 Nov 2025 14:21:53 +0000 Subject: [PATCH 1/5] feat: enable strict linting for redocly Now that we have zero errors and warnings, we will enable strict mode for redocly --- .github/workflows/lint-tools.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-tools.yml b/.github/workflows/lint-tools.yml index 24dbe65..f4b3e2c 100644 --- a/.github/workflows/lint-tools.yml +++ b/.github/workflows/lint-tools.yml @@ -46,14 +46,14 @@ jobs: steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v6 - - run: uvx yamllint -f github topsort-api-*.yml + - run: uvx yamllint topsort-api-*.yml redocly: name: Redocly runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - run: npx @redocly/cli lint --format github-actions topsort-api-*.yml + - run: npx @redocly/cli lint --extends recommended-strict --format github-actions topsort-api-*.yml typos: name: Check for language typos From 3c0b1f5e46cd5f79e3ff38bfb2fac5b7e18e16be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Fri, 14 Nov 2025 14:33:17 +0000 Subject: [PATCH 2/5] fix: prettier --- .github/workflows/lint-tools.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-tools.yml b/.github/workflows/lint-tools.yml index f4b3e2c..fc157e6 100644 --- a/.github/workflows/lint-tools.yml +++ b/.github/workflows/lint-tools.yml @@ -53,7 +53,9 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - run: npx @redocly/cli lint --extends recommended-strict --format github-actions topsort-api-*.yml + - run: + npx @redocly/cli lint --extends recommended-strict --format github-actions + topsort-api-*.yml typos: name: Check for language typos From d7535bc87dfc3aaa6d64606ad6d38e39e56b044d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Fri, 14 Nov 2025 14:40:39 +0000 Subject: [PATCH 3/5] fix: don't touch `v1` --- .github/workflows/lint-tools.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-tools.yml b/.github/workflows/lint-tools.yml index fc157e6..e90b7e5 100644 --- a/.github/workflows/lint-tools.yml +++ b/.github/workflows/lint-tools.yml @@ -46,7 +46,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v6 - - run: uvx yamllint topsort-api-*.yml + - run: uvx yamllint topsort-api-v2.yml redocly: name: Redocly @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@v4 - run: npx @redocly/cli lint --extends recommended-strict --format github-actions - topsort-api-*.yml + topsort-api-v2.yml typos: name: Check for language typos From 4fc2367d74a385306f3a2f7e33ca0cf1e42f7024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Fri, 14 Nov 2025 14:41:05 +0000 Subject: [PATCH 4/5] fix: update typos while at it --- .github/workflows/lint-tools.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-tools.yml b/.github/workflows/lint-tools.yml index e90b7e5..5ffb055 100644 --- a/.github/workflows/lint-tools.yml +++ b/.github/workflows/lint-tools.yml @@ -62,4 +62,4 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - uses: crate-ci/typos@v1.35.2 + - uses: crate-ci/typos@v1.87.0 From 21a4053f460c3fe427ecc2e40ea6638ebb44c2a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Fri, 14 Nov 2025 14:43:31 +0000 Subject: [PATCH 5/5] fix: typos version I thought it followed hte cli versioning --- .github/workflows/lint-tools.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-tools.yml b/.github/workflows/lint-tools.yml index 5ffb055..1721f3f 100644 --- a/.github/workflows/lint-tools.yml +++ b/.github/workflows/lint-tools.yml @@ -62,4 +62,4 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - uses: crate-ci/typos@v1.87.0 + - uses: crate-ci/typos@v1.39.2