From 1496e50eb9404d0c5c8398da8b30241d6515901e Mon Sep 17 00:00:00 2001 From: YulianBelov Date: Fri, 10 Apr 2026 12:55:58 +0300 Subject: [PATCH] feat: add ci --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ README.md | 4 ++++ pom.xml | 2 +- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..591a326 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: Java CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: "temurin" + java-version: "17" + cache: "maven" + + - name: Build with Maven + run: mvn -B clean install + diff --git a/README.md b/README.md index 1fc855b..14a6ce4 100644 --- a/README.md +++ b/README.md @@ -231,3 +231,7 @@ boolean valid = Validators.email("root@admin.local") mvn test ``` +## License + +MIT License. See `LICENSE`. + diff --git a/pom.xml b/pom.xml index f4844b5..3e11af1 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.checkmate checkmate - 1.0.0-SNAPSHOT + 0.1.0 CheckMate Small rule-based validation framework