From 765219ee131fe985302fcc97221c6fe5d73f7517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 14 Dec 2022 08:08:27 +0200 Subject: [PATCH 1/5] ci(renovate): move config to `.github/` One file fewer cluttering project's top level. --- renovate.json => .github/renovate.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename renovate.json => .github/renovate.json (100%) diff --git a/renovate.json b/.github/renovate.json similarity index 100% rename from renovate.json rename to .github/renovate.json From ad007e039b3b0427a33c453ec6d376446220d165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 14 Dec 2022 08:13:01 +0200 Subject: [PATCH 2/5] ci(renovate): drop no longer needed `ignoreUnstable` for black No more all-"b"-releases there. --- .github/renovate.json | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index fdbb193774e..2acfcd2f26f 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -34,7 +34,6 @@ { "matchPackagePatterns": ["(^|/)black$"], "versioning": "pep440", - "ignoreUnstable": false, "groupName": "black" }, { From 9131e2c81f9b064efb31bd10550407961adce506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 14 Dec 2022 08:14:45 +0200 Subject: [PATCH 3/5] ci(renovate): be explicit about `chore` semantic commit type --- .github/renovate.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 2acfcd2f26f..61db87f23d7 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,11 +2,13 @@ "extends": [ "config:base", ":prConcurrentLimit20", - ":preserveSemverRanges" + ":preserveSemverRanges", + ":semanticPrefixChore" ], "ignorePresets": [ ":dependencyDashboard", - ":ignoreModulesAndTests" + ":ignoreModulesAndTests", + ":semanticPrefixFixDepsChoreOthers" ], "semanticCommits": "enabled", "commitMessageTopic": "{{depName}}", From e012cdf481af3ae53e89e5e6fd4668952c6005d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 14 Dec 2022 08:15:16 +0200 Subject: [PATCH 4/5] ci(renovate): add `$schema` --- .github/renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/renovate.json b/.github/renovate.json index 61db87f23d7..fc7feb3f473 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,4 +1,5 @@ { + "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:base", ":prConcurrentLimit20", From f6a296441aa1ff3491ecc0747797b699cb117661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 14 Dec 2022 08:17:27 +0200 Subject: [PATCH 5/5] ci: use `setup-python` built-in caching https://github.com/actions/setup-python#caching-packages-dependencies --- .github/workflows/ci.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 73449e10a69..13e9df629b4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,10 +14,8 @@ jobs: - uses: actions/setup-python@v4 with: python-version: ">=3.7" - - uses: actions/cache@v3 - with: - path: ~/.cache/pip - key: pip-${{hashFiles('test/requirements*.txt')}} + cache: pip + cache-dependency-path: test/requirements*.txt - uses: actions/cache@v3 with: path: ~/.cache/pre-commit