Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and add worflow to run unit tests #46

Merged
merged 5 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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