From 754aa0fcabfb69bd0bd8270663a9fe4e6d95c793 Mon Sep 17 00:00:00 2001 From: halotukozak Date: Fri, 28 Aug 2026 12:13:53 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'renovate.j?= =?UTF-8?q?son'=20with=20remote=20'renovate.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renovate.json | 98 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 80 insertions(+), 18 deletions(-) diff --git a/renovate.json b/renovate.json index 235160a..707c247 100644 --- a/renovate.json +++ b/renovate.json @@ -18,38 +18,77 @@ "customManagers": [ { "customType": "regex", - "description": "Scala cross-built deps (scala-cli :: / sbt %%) in project.scala and README", - "managerFilePatterns": ["/(^|/)project\\.scala$/", "/(^|/)README\\.md$/"], + "description": "Scala cross-built deps: scala-cli `::`, sbt `%%`, Mill `mvn\"...::...\"`", + "managerFilePatterns": [ + "/(^|/)project\\.scala$/", + "/(^|/)README\\.md$/", + "/(^|/)build\\.sc$/", + "/(^|/)build\\.mill$/", + "/\\.mill$/" + ], "matchStrings": [ - "//> using (?:test\\.)?dep (?[\\w.-]+)::(?[\\w.-]+):{1,2}(?[\\w.-]+)", - "\"(?[\\w.-]+)\" %% \"(?[\\w.-]+)\" % \"(?[\\w.-]+)\"" + "//> using (?:test\\.)?dep \"?(?[\\w.-]+)::(?[\\w.-]+):{1,2}(?[\\w.-]+)\"?", + "\"(?[\\w.-]+)\" %% \"(?[\\w.-]+)\" % \"(?[\\w.-]+)\"", + "mvn\"(?[\\w.-]+)::(?[\\w.-]+):(?[\\w.-]+)\"" ], "packageNameTemplate": "{{groupId}}:{{artifactId}}_3", "datasourceTemplate": "sbt-package" }, { "customType": "regex", - "description": "Plain Maven-coordinate deps (scala-cli : / sbt %) in project.scala and README", - "managerFilePatterns": ["/(^|/)project\\.scala$/", "/(^|/)README\\.md$/"], + "description": "Plain Maven-coordinate deps: scala-cli `:`, sbt `%`, Mill `mvn\"...:...\"`", + "managerFilePatterns": [ + "/(^|/)project\\.scala$/", + "/(^|/)README\\.md$/", + "/(^|/)build\\.sc$/", + "/(^|/)build\\.mill$/", + "/\\.mill$/" + ], "matchStrings": [ - "//> using (?:test\\.)?dep (?[\\w.-]+):(?[\\w.-]+):(?[\\w.-]+)", - "\"(?[\\w.-]+)\" % \"(?[\\w.-]+)\" % \"(?[\\w.-]+)\"" + "//> using (?:test\\.)?dep \"?(?[\\w.-]+):(?[\\w.-]+):(?[\\w.-]+)\"?", + "\"(?[\\w.-]+)\" % \"(?[\\w.-]+)\" % \"(?[\\w.-]+)\"", + "mvn\"(?[\\w.-]+):(?[\\w.-]+):(?[\\w.-]+)\"" ], "packageNameTemplate": "{{groupId}}:{{artifactId}}", "datasourceTemplate": "maven" }, { "customType": "regex", - "description": "scala-cli Scala compiler version in project.scala", - "managerFilePatterns": ["/(^|/)project\\.scala$/"], + "description": "Scala language version: scala-cli `using scala`, Mill `def scalaVersion`", + "managerFilePatterns": [ + "/(^|/)project\\.scala$/", + "/(^|/)README\\.md$/", + "/(^|/)build\\.sc$/", + "/(^|/)build\\.mill$/", + "/\\.mill$/" + ], "matchStrings": [ - "//> using scala (?[\\w.-]+)" + "//> using scala \"?(?[\\w.-]+)\"?", + "def scalaVersion\\s*=\\s*\"(?[\\w.-]+)\"" ], "depNameTemplate": "scala3", "packageNameTemplate": "scala/scala3", "datasourceTemplate": "github-tags", "versioningTemplate": "semver" }, + { + "customType": "regex", + "description": "Scala Native version: scala-cli --native-version, Mill `def scalaNativeVersion`", + "managerFilePatterns": [ + "/^\\.github/workflows/[^/]+\\.ya?ml$/", + "/(^|/)build\\.sc$/", + "/(^|/)build\\.mill$/", + "/\\.mill$/" + ], + "matchStrings": [ + "--native-version (?[\\w.-]+)", + "def scalaNativeVersion\\s*=\\s*\"(?[\\w.-]+)\"" + ], + "depNameTemplate": "scala-native", + "packageNameTemplate": "scala-native/scala-native", + "datasourceTemplate": "github-releases", + "extractVersionTemplate": "^v(?.+)$" + }, { "customType": "regex", "description": "scala-cli --js-version in GitHub workflows", @@ -64,15 +103,38 @@ }, { "customType": "regex", - "description": "scala-cli --native-version in GitHub workflows", - "managerFilePatterns": ["/^\\.github/workflows/[^/]+\\.ya?ml$/"], + "description": "Mill version (//| mill-version pragma)", + "managerFilePatterns": [ + "/(^|/)README\\.md$/", + "/(^|/)build\\.sc$/", + "/(^|/)build\\.mill$/", + "/\\.mill$/" + ], "matchStrings": [ - "--native-version (?[\\w.-]+)" + "//\\|\\s*mill-version:\\s*(?\\S+)" ], - "depNameTemplate": "scala-native", - "packageNameTemplate": "scala-native/scala-native", - "datasourceTemplate": "github-releases", - "extractVersionTemplate": "^v(?.+)$" + "depNameTemplate": "com-lihaoyi/mill", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "description": "scoverage version (Mill scoverageVersion)", + "managerFilePatterns": ["/(^|/)build\\.sc$/", "/(^|/)build\\.mill$/", "/\\.mill$/"], + "matchStrings": [ + "def scoverageVersion\\s*=\\s*\"(?[\\w.-]+)\"" + ], + "depNameTemplate": "scoverage/scalac-scoverage-plugin", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "description": "scalatest version (Mill scalaTestVersion)", + "managerFilePatterns": ["/(^|/)build\\.sc$/", "/(^|/)build\\.mill$/", "/\\.mill$/"], + "matchStrings": [ + "def scalaTestVersion\\s*=\\s*\"(?[\\w.-]+)\"" + ], + "depNameTemplate": "org.scalatest:scalatest", + "datasourceTemplate": "maven" } ] } From 2b5bff822053a48831bc1dfa696021d86e0b59f5 Mon Sep 17 00:00:00 2001 From: halotukozak Date: Fri, 28 Aug 2026 12:13:53 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/wo?= =?UTF-8?q?rkflows/ci.yml'=20with=20remote=20'shared/ci.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b026422..9130933 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,8 @@ jobs: scala-build-jvm- - uses: VirtusLab/scala-cli-setup@v1 - name: Run tests - # Coverage is recorded only for production sources; test sources are - # excluded so they don't inflate the reported number. + # Coverage is recorded only for production sources; tests were previously + # measured as 100%-covered and inflated the reported number. run: scala-cli --power test . -O -coverage-out:./.scoverage -O '-coverage-exclude-files:.*test/.*' - name: Generate coverage run: scala-cli .scoverage/report.sc @@ -103,4 +103,4 @@ jobs: scala-build-${{ matrix.platform }}- - uses: VirtusLab/scala-cli-setup@v1 - name: Run tests - run: scala-cli --power test . --platform ${{ matrix.platform }} ${{ matrix.args }} \ No newline at end of file + run: scala-cli --power test . --platform ${{ matrix.platform }} ${{ matrix.args }}