From 63e8212a94f31cf0016dfb7fcda9c69fecaf05fa Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 1 Dec 2023 14:07:36 +0000 Subject: [PATCH 01/13] Update sbt-microsites to 1.4.4 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index bf5d8bc0..f65d8513 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("com.47deg" % "sbt-microsites" % "1.3.4") +addSbtPlugin("com.47deg" % "sbt-microsites" % "1.4.4") addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.14.2") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.0") addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") From 41b065e58f543fe88426530124455122e98a1793 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 1 Dec 2023 14:11:44 +0000 Subject: [PATCH 02/13] Update sbt-scalafmt to 2.5.2 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index bf5d8bc0..e40baa5e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -8,7 +8,7 @@ addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.2.0") addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.1") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.7") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.6") -addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.14") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.0") From dcb4234ae97c82e21be8ce5f05ca98485aa1643b Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 12 Jan 2024 14:38:03 +0000 Subject: [PATCH 03/13] Update sbt-jmh to 0.4.7 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index bf5d8bc0..0c0a74ff 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -11,4 +11,4 @@ addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.6") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.14") -addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.0") +addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7") From ec8f2b9f05481fc56a4e3f858d1c19c93308c27f Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 22 Jan 2024 15:01:03 +0000 Subject: [PATCH 04/13] Update sbt-release to 1.4.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index bf5d8bc0..8ab11ae6 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("com.47deg" % "sbt-microsites" % "1.3.4") addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.14.2") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.0") -addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") +addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.2.0") From 1cf800777f880385230117f5bfccbd2e60d2d92a Mon Sep 17 00:00:00 2001 From: David Francoeur Date: Fri, 26 Jan 2024 12:39:27 -0500 Subject: [PATCH 05/13] Fix CoC broken link The other problem mentioned in the original issue is already resolved: Fixes https://github.com/bkirwi/decline/issues/504 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c926ae3..65f4ad6c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ object HelloWorld extends CommandApp( ## About the Project `decline` is a [Typelevel](https://typelevel.org/projects/) project, -and follows the [Scala Code of Conduct](https://typelevel.org/code_of_conduct.html). +and follows the [Typelevel Scala Code of Conduct](https://typelevel.org/code-of-conduct). This project is released under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0). From 75e3ae2698a4d904aa3dc8b55343cd9a9c93a647 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 19 Feb 2024 15:15:11 +0000 Subject: [PATCH 06/13] Update sbt-github-actions to 0.23.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index bf5d8bc0..5d6cb482 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("com.47deg" % "sbt-microsites" % "1.3.4") -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.14.2") +addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.23.0") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.0") addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1") From 622a10cc663cb05b5ed5376706617a9e5bd423e6 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 19 Feb 2024 15:16:14 +0000 Subject: [PATCH 07/13] Regenerate GitHub Actions workflow Executed command: sbt githubWorkflowGenerate --- .github/workflows/ci.yml | 33 +++++++++++---------------------- .github/workflows/clean.yml | 3 ++- 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed74f90d..0c8e8b30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,41 +23,30 @@ jobs: matrix: os: [ubuntu-latest] scala: [2.12.17, 2.13.10, 3.2.1] - java: [temurin@11] + java: [temurin@8] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup Java (temurin@11) - if: matrix.java == 'temurin@11' - uses: actions/setup-java@v2 + - name: Setup Java (temurin@8) + if: matrix.java == 'temurin@8' + uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 - - - name: Cache sbt - uses: actions/cache@v2 - with: - path: | - ~/.sbt - ~/.ivy2/cache - ~/.coursier/cache/v1 - ~/.cache/coursier/v1 - ~/AppData/Local/Coursier/Cache/v1 - ~/Library/Caches/Coursier/v1 - key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} + java-version: 8 + cache: sbt - name: Check that workflows are up to date - run: sbt -mem 4000 ++${{ matrix.scala }} githubWorkflowCheck + run: sbt -mem 4000 '++ ${{ matrix.scala }}' githubWorkflowCheck - name: Build project - run: sbt -mem 4000 ++${{ matrix.scala }} test + run: sbt -mem 4000 '++ ${{ matrix.scala }}' test - name: Test Scala-Native - run: sbt -mem 4000 ++${{ matrix.scala }} declineNative/test + run: sbt -mem 4000 '++ ${{ matrix.scala }}' declineNative/test - name: Report MiMa binary issues - run: sbt -mem 4000 ++${{ matrix.scala }} mimaReportBinaryIssues + run: sbt -mem 4000 '++ ${{ matrix.scala }}' mimaReportBinaryIssues diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index 547aaa43..bfc865d5 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -17,6 +17,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Delete artifacts + shell: bash {0} run: | # Customize those three lines with your repository and credentials: REPO=${GITHUB_API_URL}/repos/${{ github.repository }} @@ -25,7 +26,7 @@ jobs: ghapi() { curl --silent --location --user _:$GITHUB_TOKEN "$@"; } # A temporary file which receives HTTP response headers. - TMPFILE=/tmp/tmp.$$ + TMPFILE=$(mktemp) # An associative array, key: artifact name, value: number of artifacts of that name. declare -A ARTCOUNT From 1ec4928e26161b6c2ed0802192df3843c8a55993 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 25 Feb 2024 15:00:08 +0000 Subject: [PATCH 08/13] Update kind-projector to 0.13.3 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 6ca6851f..ce9aa9dd 100644 --- a/build.sbt +++ b/build.sbt @@ -117,7 +117,7 @@ lazy val decline = .settings( libraryDependencies ++= { if (scalaVersion.value.startsWith("2.")) - Seq(compilerPlugin("org.typelevel" % "kind-projector" % "0.13.2" cross CrossVersion.full)) + Seq(compilerPlugin("org.typelevel" % "kind-projector" % "0.13.3" cross CrossVersion.full)) else Seq.empty } From 2d4197baf215a82c944f41ce5d4785c53aa15721 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 20 Mar 2024 15:03:39 +0000 Subject: [PATCH 09/13] Update sbt-scalajs, scalajs-compiler, ... to 1.16.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index bf5d8bc0..2ee14c58 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -5,7 +5,7 @@ addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.2.0") -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.1") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.7") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.6") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") From 3a4a7bf387ad20c036403a4aed66e1a7b0dd4b89 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Tue, 7 May 2024 15:08:42 +0000 Subject: [PATCH 10/13] Update sbt to 1.10.0 --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 6a9f0388..081fdbbc 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.7.3 +sbt.version=1.10.0 From 9aad50d7917a9fddf7c44004a0569e3618341895 Mon Sep 17 00:00:00 2001 From: Ben Kirwin Date: Tue, 10 Oct 2023 23:14:05 -0400 Subject: [PATCH 11/13] Fix some broken links --- README.md | 2 +- doc/src/main/tut/arguments.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c926ae3..d6710948 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ object HelloWorld extends CommandApp( ## About the Project `decline` is a [Typelevel](https://typelevel.org/projects/) project, -and follows the [Scala Code of Conduct](https://typelevel.org/code_of_conduct.html). +and follows the [Scala Code of Conduct](https://typelevel.org/code-of-conduct). This project is released under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0). diff --git a/doc/src/main/tut/arguments.md b/doc/src/main/tut/arguments.md index 245b8dc8..0b460fc2 100644 --- a/doc/src/main/tut/arguments.md +++ b/doc/src/main/tut/arguments.md @@ -6,7 +6,7 @@ position: 3 # Argument Types -In the [guide](/usage.html), we specified the type of an option's argument like so: +In the [guide](./usage.html), we specified the type of an option's argument like so: ```scala mdoc:to-string import com.monovore.decline._ From 96a11726e582a1e496f3066f1b7219be2ab5a1cb Mon Sep 17 00:00:00 2001 From: Ben Kirwin Date: Sun, 12 May 2024 00:15:12 -0400 Subject: [PATCH 12/13] Bump to Scala 2.13.13 --- .github/workflows/ci.yml | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c8e8b30..5e265232 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - scala: [2.12.17, 2.13.10, 3.2.1] + scala: [2.12.17, 2.13.13, 3.2.1] java: [temurin@8] runs-on: ${{ matrix.os }} steps: diff --git a/build.sbt b/build.sbt index ce9aa9dd..9ea86b82 100644 --- a/build.sbt +++ b/build.sbt @@ -7,7 +7,7 @@ ThisBuild / mimaFailOnNoPrevious := false val mimaPreviousVersion = "2.2.0" lazy val Scala212 = "2.12.17" -lazy val Scala213 = "2.13.10" +lazy val Scala213 = "2.13.13" lazy val Scala3 = "3.2.1" ThisBuild / scalaVersion := Scala212 From df93f7f9bc4a628a51328f84314ff7bd826901a7 Mon Sep 17 00:00:00 2001 From: Ben Kirwin Date: Sun, 12 May 2024 00:45:28 -0400 Subject: [PATCH 13/13] Update scala native --- project/plugins.sbt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 70bc490f..16cbb73f 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,14 +1,27 @@ addSbtPlugin("com.47deg" % "sbt-microsites" % "1.4.4") + addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.23.0") + addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.0") + addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") + addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1") + addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0") + addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.2.0") + addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.7") + +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.16") + addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.6") + addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") + addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") + addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.14") + addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")