Skip to content

Commit

Permalink
Standalone workflow, upgraded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvazan committed Nov 13, 2023
1 parent 6e5636d commit 77cddfb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 16 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@ on:
workflow_dispatch:
jobs:
build:
uses: robertvazan/project-config/.github/workflows/java-build.yml@master
with:
java-version: 17
test-coverage: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
cache: maven
- name: Maven
run: |
# GPG must be skipped, because CI server does not have release GPG key.
# Failure on javadoc warnings is enabled only in CI builds,
# so that warnings specific to one JDK version do not break independent builds.
# Printing maven version (-V) helps diagnose CI-specific build behavior.
mvn install -Dgpg.skip=true -Dmaven.javadoc.failOnWarnings=true -B -V
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,22 @@
<dependency>
<groupId>com.machinezoo.sourceafis</groupId>
<artifactId>sourceafis</artifactId>
<version>3.17.1</version>
<version>3.18.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
<version>3.13.0</version>
</dependency>
<dependency>
<groupId>one.util</groupId>
<artifactId>streamex</artifactId>
<version>0.8.1</version>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.36</version>
<groupId>one.util</groupId>
<artifactId>streamex</artifactId>
<version>0.8.2</version>
</dependency>
<dependency>
<groupId>org.openjdk.jol</groupId>
Expand All @@ -81,11 +81,11 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.2.2</version>
</plugin>
</plugins>
</build>
Expand Down
4 changes: 2 additions & 2 deletions scripts/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def md_description(self): return '''\

def dependencies(self):
yield from super().dependencies()
yield self.use('com.machinezoo.sourceafis:sourceafis:3.17.1')
yield self.use('com.machinezoo.sourceafis:sourceafis:3.18.1')
yield self.use_commons_lang()
yield self.use_commons_io()
yield self.use_streamex()
yield self.use('org.slf4j:slf4j-simple:1.7.36')
# Used to measure memory footprint of SourceAFIS templates.
# Causes warnings. Needs replacement.
yield self.use('org.openjdk.jol:jol-core:0.16')
Expand Down

0 comments on commit 77cddfb

Please sign in to comment.