Skip to content

Commit

Permalink
Changes for release 1.4.7 (#225)
Browse files Browse the repository at this point in the history
* Remove pre Scala.js 1.8.0 workaround

* Update README for release

* Add resolver for snapshots

* Update CI to use setup-java

* Add ability to test snapshots
  • Loading branch information
ekrich authored Jan 4, 2022
1 parent 08b5b3d commit d78e7c2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '1.8', '11', '17' ]
java: [ '8', '11', '17' ]
name: Test using Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v13
- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
java-version: ${{ matrix.java }}
- run: sbt +test
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ All available versions can be seen at the [Maven Repository](https://mvnreposito
| 2.11.x ||||
| 2.12.x ||||
| 2.13.x ||||
| 3.0.x ||| n/a |
| 3.x.x ||| n/a |

## Usage and Help
[![Scaladoc](https://www.javadoc.io/badge/org.ekrich/sconfig_2.11.svg?label=scaladoc)](https://www.javadoc.io/doc/org.ekrich/sconfig_2.11)
Expand Down Expand Up @@ -110,6 +110,7 @@ At a high level, the process is as follows:

## Versions

Release [1.4.7](https://github.com/ekrich/sconfig/releases/tag/v1.4.7) - (2022-01-03)<br/>
Release [1.4.6](https://github.com/ekrich/sconfig/releases/tag/v1.4.6) - (2021-12-06)<br/>
Release [1.4.5](https://github.com/ekrich/sconfig/releases/tag/v1.4.5) - (2021-10-08)<br/>
Release [1.4.4](https://github.com/ekrich/sconfig/releases/tag/v1.4.4) - (2021-05-13)<br/>
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ ThisBuild / scalaVersion := scala212
ThisBuild / crossScalaVersions := versionsBase
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / mimaFailOnNoPrevious := false
ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots")

Compile / packageBin / packageOptions +=
Package.ManifestAttributes("Automatic-Module-Name" -> "org.ekrich.sconfig")
Expand Down
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// To test snapshots
resolvers += Resolver.sonatypeRepo("snapshots")

// versions
val crossVer = "1.1.0"
val scalaJSVersion = "1.8.0"
Expand All @@ -17,6 +20,3 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)

addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.33")

// Workaround until Scala.js 1.8.0 released
// See https:/scala-js/scala-js-js-envs/issues/12
libraryDependencies += "org.scala-js" %% "scalajs-env-nodejs" % "1.2.1"

0 comments on commit d78e7c2

Please sign in to comment.