From 42ff36956edefc3220cbfd6f011004af3a72a90e Mon Sep 17 00:00:00 2001 From: "Alex M. Lowe" Date: Wed, 14 Oct 2026 20:23:38 -0400 Subject: [PATCH 1/2] ci: test the starflow lint workflow split Points the lint job at `canonical/starflow/.github/workflows/lint-python.yaml@work/separate-linkcheck` to exercise the lint workflow being reworked in canonical/starflow#199. That change splits the lint workflow into separate jobs and renames the `lint` make target to `lint-code`. This repository already provides `lint-code`, `docs-lint`, and the `docs-%` passthrough that supplies `docs-linkcheck`, so the workflow reference is the only edit needed. --- .github/workflows/qa.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index 9f8a35bb..ebb7ec74 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -16,7 +16,7 @@ permissions: jobs: lint: - uses: canonical/starflow/.github/workflows/lint-python.yaml@main + uses: canonical/starflow/.github/workflows/lint-python.yaml@work/separate-linkcheck test: uses: canonical/starflow/.github/workflows/test-python.yaml@main with: From b9d828082e5d8a91a9f6731bba8f04ab19df3f53 Mon Sep 17 00:00:00 2001 From: "Alex M. Lowe" Date: Wed, 14 Oct 2026 20:43:47 -0400 Subject: [PATCH 2/2] ci: add a lint-code target The starflow lint workflow is being split so that the code linters run as their own job, and it calls the code linters as `make -k lint-code` (see canonical/starflow#199). Split the aggregate `lint` target so the code linters can be addressed as `lint-code`, matching the repositories that already provide it. `lint` still runs everything for local use. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 21c903a6..217dddcb 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,10 @@ include common.mk format: format-ruff format-codespell format-prettier ## Run all automatic formatters .PHONY: lint -lint: lint-ruff lint-ty lint-codespell lint-prettier lint-shellcheck lint-docs lint-twine ## Run all linters +lint: lint-code lint-docs lint-twine ## Run all linters + +.PHONY: lint-code +lint-code: lint-ruff lint-ty lint-codespell lint-prettier lint-shellcheck ## Run code-specific linters .PHONY: pack pack: pack-pip ## Build all packages