Skip to content

Commit

Permalink
Update google-java-format CI
Browse files Browse the repository at this point in the history
JDK 16 is now released, so mark it non-experimental and add a build for JDK
17-EA. Also add a JDK 14 build back, to prevent regressions in some Java >= 14
features that are handled differently between 14 and 16.

PiperOrigin-RevId: 368111853
  • Loading branch information
cushon authored and google-java-format Team committed Apr 12, 2021
1 parent 5defb58 commit 2396d08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -29,19 +29,19 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
java: [ 15, 11 ]
java: [ 16, 14, 11 ]
experimental: [ false ]
include:
# Only test on macos and windows with a single recent JDK to avoid a
# combinatorial explosion of test configurations.
- os: macos-latest
java: 15
java: 16
experimental: false
- os: windows-latest
java: 15
java: 16
experimental: false
- os: ubuntu-latest
java: 16-ea
java: 17-ea
experimental: true
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
Expand Down

0 comments on commit 2396d08

Please sign in to comment.