Skip to content

Commit

Permalink
dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasnogueira committed Dec 23, 2023
1 parent 6f3a8a9 commit cb1a47a
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 24 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 11
distribution: temurin
java-version: 21
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn -DskipTests -B package --file pom.xml
run: mvn -q -DskipTests -B package --file pom.xml
artifact:
name: Publish Artifact
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 11
distribution: temurin
java-version: 21
- name: Removing -SNAPSHOT
run: mvn versions:set -DremoveSnapshot
- name: Publish artifact on GitHub Packages
run: mvn -B clean deploy -DskipTests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.4] - 21-12-2023

## Changed
- Updated the following library versions:
-

## [1.0.3] - 29-08-2022

### Added
Expand Down
41 changes: 29 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,23 @@

<groupId>com.eliasnogueira</groupId>
<artifactId>test-parent</artifactId>
<version>1.0.3-SNAPSHOT</version>
<version>1.0.4-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
<java.version>11</java.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<java.version>21</java.version>
<maven-compiler-plugin.version>3.12.0</maven-compiler-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<junit.version>5.9.0</junit.version>
<assertj.version>3.23.1</assertj.version>
<restassrured.version>5.1.1</restassrured.version>
<jackson.version>2.13.3</jackson.version>
<javafaker.version>1.0.2</javafaker.version>
<junit.version>5.10.1</junit.version>
<assertj.version>3.24.2</assertj.version>
<restassrured.version>5.4.0</restassrured.version>
<jackson.version>2.16.0</jackson.version>
<datafaker.version>2.0.2</datafaker.version>

<!-- enforce library security update -->
<commons-codec.version>1.16.0</commons-codec.version>
</properties>


Expand All @@ -28,6 +31,12 @@
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>${restassrured.version}</version>
<exclusions>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand All @@ -49,11 +58,19 @@
</dependency>

<dependency>
<groupId>com.github.javafaker</groupId>
<artifactId>javafaker</artifactId>
<version>${javafaker.version}</version>
<groupId>net.datafaker</groupId>
<artifactId>datafaker</artifactId>
<version>${datafaker.version}</version>
</dependency>

<!-- enforce library security update -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>


</dependencies>

<build>
Expand All @@ -78,4 +95,4 @@
</repository>
</distributionManagement>

</project>
</project>

0 comments on commit cb1a47a

Please sign in to comment.