diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c396f22 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: analogweb core CI + +on: + push: + pull_request: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + cache: maven + distribution: 'temurin' + - name: Code Format Validation + run: mvn formatter:validate + - name: Test + run: mvn clean test diff --git a/README.md b/README.md index 1f5889b..43d88fd 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ Analogweb Framework =============================================== -[![Build Status](https://travis-ci.org/analogweb/core.svg?branch=master)](https://travis-ci.org/analogweb/core) +[![Build Status](https://github.com/analogweb/core/actions/workflows/ci.yml/badge.svg) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.analogweb/analogweb-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.analogweb/analogweb-core) Analogweb is a tiny HTTP oriented framework. -It depends only Java 8+. +It depends only Java 11+. ## Example diff --git a/pom.xml b/pom.xml index 7df3fe9..9edced2 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@