Skip to content

Commit 33df7a7

Browse files
committed
Fix #53: update JDK baseline to Java 8; misc CI improvements
1 parent f20ea08 commit 33df7a7

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- master
66
- "4.3"
7+
- "3.0"
78
paths-ignore:
89
- "README.md"
910
- "release-notes/*"
@@ -18,15 +19,14 @@ jobs:
1819
strategy:
1920
fail-fast: false
2021
matrix:
21-
# Alas, JDK14 can't be yet used as JUG builds for Java 6
22-
java_version: ['8', '11']
22+
java_version: ['8', '11', '17', '21']
2323
os: ['ubuntu-20.04']
2424
env:
2525
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2626
steps:
27-
- uses: actions/checkout@v3.5.3
27+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2828
- name: Set up JDK
29-
uses: actions/setup-java@v3
29+
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
3030
with:
3131
distribution: "temurin"
3232
java-version: ${{ matrix.java_version }}
@@ -38,7 +38,7 @@ jobs:
3838
run: ./mvnw -B -q -ff -ntp test
3939
- name: Publish code coverage
4040
if: github.event_name != 'pull_request' && matrix.java_version == '8'
41-
uses: codecov/codecov-action@v3
41+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
4242
with:
4343
token: ${{ secrets.CODECOV_TOKEN }}
4444
file: ./target/site/jacoco/jacoco.xml

pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.fasterxml</groupId>
88
<artifactId>oss-parent</artifactId>
9-
<version>54</version>
9+
<version>55</version>
1010
</parent>
1111
<groupId>com.fasterxml.uuid</groupId>
1212
<artifactId>java-uuid-generator</artifactId>
@@ -15,7 +15,7 @@
1515
-->
1616
<packaging>bundle</packaging>
1717
<name>Java UUID Generator</name>
18-
<version>4.3.1-SNAPSHOT</version>
18+
<version>5.0.0-SNAPSHOT</version>
1919
<description>
2020
Java UUID Generator (JUG) is a Java library for generating
2121
Universally Unique IDentifiers, UUIDs (see http://en.wikipedia.org/wiki/UUID).
@@ -28,7 +28,7 @@ JUG supports all 3 official UUID generation methods.
2828
<connection>scm:git:git://github.com/cowtowncoder/java-uuid-generator.git</connection>
2929
<url>https://github.com/cowtowncoder/java-uuid-generator</url>
3030
<developerConnection>scm:git:[email protected]:cowtowncoder/java-uuid-generator.git</developerConnection>
31-
<tag>java-uuid-generator-4.3.0</tag>
31+
<tag>HEAD</tag>
3232
</scm>
3333
<developers>
3434
<developer>
@@ -91,8 +91,8 @@ JUG supports all 3 official UUID generation methods.
9191
<artifactId>maven-compiler-plugin</artifactId>
9292
<version>${version.plugin.compiler}</version>
9393
<configuration>
94-
<source>1.6</source>
95-
<target>1.6</target>
94+
<source>1.8</source>
95+
<target>1.8</target>
9696
</configuration>
9797
</plugin>
9898
<plugin><!-- plug-in to attach source bundle in repo -->

release-notes/VERSION

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Project: java-uuid-generator
44
Releases
55
============================================================================
66

7+
5.0.0 (not yet released)
8+
9+
#53: Increase JDK baseline to JDK 8
10+
711
4.3.0 (12-Sep-2023)
812

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

0 commit comments

Comments
 (0)