From 97ee581aed260b6da51b84ffd26f957060c0eb9a Mon Sep 17 00:00:00 2001 From: Tien Nguyen Minh Date: Sat, 25 Jul 2026 20:53:33 +0700 Subject: [PATCH] @ (#4) chore: update vulnerable dependencies and add Maven CI Bump jackson-databind 2.15.2 -> 2.22.1, logback-classic 1.4.8 -> 1.5.38, slf4j-api 2.0.7 -> 2.0.17, and netty-all 4.1.94 -> 4.1.136 to clear all open Dependabot security advisories. Add a GitHub Actions workflow building on JDK 11, and a .gitignore for Maven/IDE artifacts. @ --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ .gitignore | 11 +++++++++++ pom.xml | 8 ++++---- 3 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 .gitignore diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6d090db --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: temurin + cache: maven + + - name: Build + run: mvn -B --no-transfer-progress clean verify diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2afa0a --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +target/ +*.class +*.log + +# IDE +.idea/ +*.iml +.vscode/ +.settings/ +.classpath +.project diff --git a/pom.xml b/pom.xml index b5093f9..9f790bc 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ 11 11 - 4.1.94.Final + 4.1.136.Final UTF-8 @@ -24,17 +24,17 @@ org.slf4j slf4j-api - 2.0.7 + 2.0.17 ch.qos.logback logback-classic - 1.4.8 + 1.5.38 com.fasterxml.jackson.core jackson-databind - 2.15.2 + 2.22.1