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 workflow #30

Merged
merged 9 commits into from
Mar 15, 2024
18 changes: 13 additions & 5 deletions .github/workflows/run_unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,29 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'

- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.2

- name: Check out raire-java
uses: actions/checkout@v4
with:
repository: 'DemocracyDevelopers/raire-java'
path: raire-java

- name: Build raire-java
run: cd raire-java; mvn install; cd ..

- uses: actions/checkout@v4

- name: Build with Maven
run: mvn -B -DskipTests package --file pom.xml

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.6.0</version>
<version>42.6.1</version>
</dependency>

<dependency>
Expand All @@ -78,7 +78,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.1</version>
<version>2.8.9</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
Expand Down