Skip to content

Commit

Permalink
Fix #53: update JDK baseline to Java 8; misc CI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 25, 2023
1 parent f20ea08 commit 33df7a7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- master
- "4.3"
- "3.0"
paths-ignore:
- "README.md"
- "release-notes/*"
Expand All @@ -18,15 +19,14 @@ jobs:
strategy:
fail-fast: false
matrix:
# Alas, JDK14 can't be yet used as JUG builds for Java 6
java_version: ['8', '11']
java_version: ['8', '11', '17', '21']
os: ['ubuntu-20.04']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: "temurin"
java-version: ${{ matrix.java_version }}
Expand All @@ -38,7 +38,7 @@ jobs:
run: ./mvnw -B -q -ff -ntp test
- name: Publish code coverage
if: github.event_name != 'pull_request' && matrix.java_version == '8'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./target/site/jacoco/jacoco.xml
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.fasterxml</groupId>
<artifactId>oss-parent</artifactId>
<version>54</version>
<version>55</version>
</parent>
<groupId>com.fasterxml.uuid</groupId>
<artifactId>java-uuid-generator</artifactId>
Expand All @@ -15,7 +15,7 @@
-->
<packaging>bundle</packaging>
<name>Java UUID Generator</name>
<version>4.3.1-SNAPSHOT</version>
<version>5.0.0-SNAPSHOT</version>
<description>
Java UUID Generator (JUG) is a Java library for generating
Universally Unique IDentifiers, UUIDs (see http://en.wikipedia.org/wiki/UUID).
Expand All @@ -28,7 +28,7 @@ JUG supports all 3 official UUID generation methods.
<connection>scm:git:git://github.com/cowtowncoder/java-uuid-generator.git</connection>
<url>https://github.com/cowtowncoder/java-uuid-generator</url>
<developerConnection>scm:git:[email protected]:cowtowncoder/java-uuid-generator.git</developerConnection>
<tag>java-uuid-generator-4.3.0</tag>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
Expand Down Expand Up @@ -91,8 +91,8 @@ JUG supports all 3 official UUID generation methods.
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.plugin.compiler}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin><!-- plug-in to attach source bundle in repo -->
Expand Down
4 changes: 4 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Project: java-uuid-generator
Releases
============================================================================

5.0.0 (not yet released)

#53: Increase JDK baseline to JDK 8

4.3.0 (12-Sep-2023)

#78: TimeBasedEpochGenerator (UUIDv7) can't be provided a `UUIDClock`
Expand Down

0 comments on commit 33df7a7

Please sign in to comment.