Skip to content

Commit

Permalink
Merge pull request #46 from OP-TED/update-deps-workflows
Browse files Browse the repository at this point in the history
Update dependencies and add worflow to run unit tests
  • Loading branch information
bertrand-lorentz authored Dec 8, 2023
2 parents ebf38c1 + f5c8343 commit 39ec2a0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and run unit tests
on:
push:
pull_request:

# Allows to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
- name: Build and run unit tests
run: mvn --batch-mode clean package
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
Expand Down
12 changes: 9 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
<version.commons-collections4>4.4</version.commons-collections4>
<version.commons-lang3>3.12.0</version.commons-lang3>
<version.cucumber>7.11.1</version.cucumber>
<version.drools>8.35.0.Final</version.drools>
<version.drools>8.44.0.Final</version.drools>
<version.jackson>2.14.1</version.jackson>
<version.junit>5.9.2</version.junit>
<version.logback>1.4.4</version.logback>
<version.logback>1.4.14</version.logback>
<version.maven-model>3.9.1</version.maven-model>
<version.picocli>4.6.3</version.picocli>
<version.semver4j>3.1.0</version.semver4j>
Expand Down Expand Up @@ -384,14 +384,20 @@
</manifestEntries>
</transformer>
</transformers>
<artifactSet>
<excludes>
<!-- jakarta.activation is already included so avoid warnings by excluding -api -->
<exclude>jakarta.activation:jakarta.activation-api</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
<exclude>about.html</exclude>
<exclude>module-info.class</exclude>
<exclude>**/module-info.class</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
Expand Down

0 comments on commit 39ec2a0

Please sign in to comment.