From fc6999407d372648aae68cf325312069bbef1d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20=C4=8Cerpnjak?= Date: Wed, 6 Mar 2024 18:15:21 +0100 Subject: [PATCH] Create user_management_service.yml --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f336986 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: Run unit tests + +on: + push: + branches: [ "main" ] + +jobs: + build-test-package: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + + - name: Build and test with Maven + working-directory: ./UserManagementAPI + run: mvn -B package --file pom.xml