From 91662c2060a6564f9f15ff05db8ca3f64caa7ccb Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 9 Sep 2021 18:02:24 -0500 Subject: [PATCH 1/3] don't include version in readme having to bump it all the time is annoying, and these days GitHub foregrounds this information nicely --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 509e8cc8..86424f23 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,6 @@ This library was originally part of the Scala standard library, but is now community-maintained, under the guidance of the Scala team at Lightbend. If you are interested in helping please contact [@Philippus](https://github.com/philippus) or [@SethTisue](https://github.com/SethTisue). -The latest stable release is 2.0.0. - ## Documentation * [Current API](https://javadoc.io/page/org.scala-lang.modules/scala-parser-combinators_2.13/latest/scala/util/parsing/combinator/index.html) @@ -18,10 +16,11 @@ The latest stable release is 2.0.0. * "Combinator Parsing", chapter 33 of [_Programming in Scala, Third Edition_](http://www.artima.com/shop/programming_in_scala), shows how to apply this library to e.g. parsing of arithmetic expressions. The second half of the chapter examines how the library is implemented. ## Adding an sbt dependency + To depend on scala-parser-combinators in sbt, add something like this to your build.sbt: ``` -libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "2.0.0" +libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % ``` To support multiple Scala versions, see the example in [scala/scala-module-dependency-sample](https://github.com/scala/scala-module-dependency-sample). @@ -31,7 +30,7 @@ To support multiple Scala versions, see the example in [scala/scala-module-depen Scala-parser-combinators is also available for Scala.js and Scala Native: ``` -libraryDependencies += "org.scala-lang.modules" %%% "scala-parser-combinators" % "2.0.0" +libraryDependencies += "org.scala-lang.modules" %%% "scala-parser-combinators" % ``` ## Example From 33fbb843710d7d86baee5d4d13264189b1a8a718 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 9 Sep 2021 18:12:08 -0500 Subject: [PATCH 2/3] add versionPolicyCheck to CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76bb76b0..a64592bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,4 @@ jobs: distribution: adopt java-version: ${{matrix.java}} - name: Test - run: sbt ++${{matrix.scala}} test headerCheck package + run: sbt ++${{matrix.scala}} test headerCheck versionPolicyCheck package From a64ca898de9dc3da323ad5427ff941b94ac2c81c Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 27 Sep 2021 20:18:42 -0600 Subject: [PATCH 3/3] CI: test on JDK 17 final --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a64592bd..98ac8515 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - java: [8, 11, 17-ea] + java: [8, 11, 17] scala: [2.11.12, 2.12.15, 2.13.6, 3.0.2] runs-on: ubuntu-latest steps: