diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index e69de29..1e7a441 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: spring-api-ci + +on: + push: + branches: ["**"] + pull_request: + +jobs: + build-test: + runs-on: ubuntu + steps: + - uses: actions/checkout@v4 + + - name: Setup Java 21 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "21" + cache: maven + + - name: Build & test + run: mvn -B -ntp clean verify