Skip to content

Commit 2bebcbb

Browse files
committed
Release 2.4.1
Changes: - Added explicit version constraint on `jackson-bom`. Fixes: - Fixed incompatibility with Jackson version 2.15.0-rc1 and later. - Fixed linking issue when running in Java 8.
2 parents 479492c + f5846bb commit 2bebcbb

29 files changed

+496
-499
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
pull_request:
99
branches-ignore:
1010
- 'tmp**'
11+
schedule:
12+
# Run once a week to check compatibility with new versions of dependencies
13+
- cron: '0 0 * * 1'
1114

1215
jobs:
1316
test:
@@ -32,14 +35,26 @@ jobs:
3235
- name: Check out code
3336
uses: actions/checkout@v3
3437

35-
- name: Set up JDK
38+
- name: Set up JDK 17
39+
uses: actions/setup-java@v3
40+
with:
41+
java-version: 17
42+
distribution: ${{ matrix.distribution }}
43+
44+
- name: Compile libraries and tests
45+
run: ./gradlew clean testClasses
46+
47+
- name: Build archives
48+
run: ./gradlew assemble
49+
50+
- name: Set up JDK ${{ matrix.java }}
3651
uses: actions/setup-java@v3
3752
with:
3853
java-version: ${{ matrix.java }}
3954
distribution: ${{ matrix.distribution }}
4055

41-
- name: Run tests
42-
run: ./gradlew cleanTest test
56+
- name: Run tests against JDK17-compiled code
57+
run: ./gradlew test --exclude-task compileJava
4358

4459
- name: Archive HTML test report
4560
if: ${{ always() }}
@@ -55,8 +70,12 @@ jobs:
5570
name: test-reports-java${{ matrix.java }}-${{ matrix.distribution }}-xml
5671
path: "*/build/test-results/**/*.xml"
5772

58-
- name: Build JavaDoc
59-
run: ./gradlew assembleJavadoc
73+
- name: Check binary reproducibility
74+
run: |
75+
./gradlew clean primaryPublishJar
76+
find . -name '*.jar' | xargs sha256sum | tee checksums.sha256sum
77+
./gradlew clean primaryPublishJar && sha256sum -c checksums.sha256sum
78+
./gradlew clean primaryPublishJar && sha256sum -c checksums.sha256sum
6079
6180
publish-test-results:
6281
name: Publish test results

.github/workflows/release-verify-signatures.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ jobs:
5959
java --version
6060
./gradlew jar
6161
62+
- name: Print checksums
63+
run: |
64+
for sumprog in md5sum sha1sum sha256sum; do
65+
echo $sumprog
66+
$sumprog webauthn-server-attestation/build/libs/webauthn-server-attestation-${{ github.ref_name }}.jar
67+
$sumprog webauthn-server-core/build/libs/webauthn-server-core-${{ github.ref_name }}.jar
68+
done
69+
6270
- name: Retrieve keyring and signatures
6371
uses: actions/download-artifact@v3
6472
with:

NEWS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
== Version 2.4.1 ==
2+
3+
Changes:
4+
5+
* Added explicit version constraint on `jackson-bom`.
6+
7+
Fixes:
8+
9+
* Fixed incompatibility with Jackson version 2.15.0-rc1 and later.
10+
* Fixed linking issue when running in Java 8.
11+
12+
113
== Version 2.4.0 ==
214

315
`webauthn-server-core`:

README

Lines changed: 42 additions & 42 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)