Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: test on JDK 8 and 11 #757

Merged
merged 2 commits into from
Jan 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ on:
push:
jobs:
test:
runs-on: ubuntu-latest
if: github.repository == 'lightbend/config'
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
java: 8
- os: windows-latest
java: 17
runs-on: ${{ matrix.os }}
- java: 8
- java: 11
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -23,4 +22,4 @@ jobs:
java-version: ${{ matrix.java }}
- name: Build and test
shell: bash
run: sbt -v +test +doc
run: sbt -v test doc
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Configuration library for JVM languages.

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.typesafe/config/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.typesafe/config)
[![Build Status](https://travis-ci.org/lightbend/config.svg?branch=master)](https://travis-ci.org/lightbend/config)
[![Build Status](https://github.com/lightbend/config/actions/workflows/ci.yml/badge.svg)](https://github.com/lightbend/config/actions/workflows/ci.yml)

If you have questions or are working on a pull request or just
curious, please feel welcome to join the chat room:
Expand Down Expand Up @@ -120,15 +120,15 @@ Link for direct download if you don't use a dependency manager:
### Release Notes

Please see NEWS.md in this directory,
https://github.com/lightbend/config/blob/master/NEWS.md
https://github.com/lightbend/config/blob/main/NEWS.md

### API docs

- Online: https://lightbend.github.io/config/latest/api/
- also published in jar form
- consider reading this README first for an intro
- for questions about the `.conf` file format, read
[HOCON.md](https://github.com/lightbend/config/blob/master/HOCON.md)
[HOCON.md](https://github.com/lightbend/config/blob/main/HOCON.md)
in this directory

### Bugs and Patches
Expand All @@ -142,7 +142,7 @@ account - it takes 30 seconds. You can do this at
https://www.lightbend.com/contribute/cla

Please see
[CONTRIBUTING](https://github.com/lightbend/config/blob/master/CONTRIBUTING.md)
[CONTRIBUTING](https://github.com/lightbend/config/blob/main/CONTRIBUTING.md)
for more including how to make a release.

### Build
Expand All @@ -163,7 +163,7 @@ Scala dependency.

### Longer Examples

See the examples in the `examples/` [directory](https://github.com/lightbend/config/tree/master/examples).
See the examples in the `examples/` [directory](https://github.com/lightbend/config/tree/main/examples).

You can run these from the sbt console with the commands `project
config-simple-app-java` and then `run`.
Expand Down Expand Up @@ -436,7 +436,7 @@ this:
Using the `Config` interface, you could write
`conf.getInt("foo.bar")`. The `foo.bar` string is called a _path
expression_
([HOCON.md](https://github.com/lightbend/config/blob/master/HOCON.md)
([HOCON.md](https://github.com/lightbend/config/blob/main/HOCON.md)
has the syntax details for these expressions). Iterating over this
`Config`, you would get two entries; `"foo.bar" : 42` and
`"foo.baz" : 43`. When iterating a `Config` you will not find
Expand Down Expand Up @@ -492,7 +492,7 @@ particular value manually).

The JSON superset is called "Human-Optimized Config Object
Notation" or HOCON, and files use the suffix `.conf`. See
[HOCON.md](https://github.com/lightbend/config/blob/master/HOCON.md)
[HOCON.md](https://github.com/lightbend/config/blob/main/HOCON.md)
in this directory for more detail.

After processing a `.conf` file, the result is always just a JSON
Expand Down Expand Up @@ -803,7 +803,7 @@ have expressed interest in a branch off of 1.3.x supporting
Java 7. If you want to work on that branch you might bring it up
on [chat](https://gitter.im/lightbend/config). We can release a
jar for Java 7 if someone(s) steps up to maintain the branch. The
master branch does not use Java 8 "gratuitously" but some APIs
main branch does not use Java 8 "gratuitously" but some APIs
that use Java 8 types will need to be removed.

### Rationale for Supported File Formats
Expand Down