From 621d2ed55bfe707ef13982bbe36b0209fb1ddfe3 Mon Sep 17 00:00:00 2001 From: Yauheni Date: Tue, 14 May 2024 16:17:10 +0200 Subject: [PATCH] Updated github action --- .../workflows/publish_to_maven_central.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/publish_to_maven_central.yml diff --git a/.github/workflows/publish_to_maven_central.yml b/.github/workflows/publish_to_maven_central.yml new file mode 100644 index 0000000..f765981 --- /dev/null +++ b/.github/workflows/publish_to_maven_central.yml @@ -0,0 +1,32 @@ +name: Code checks on Pull Request +on: + push: + branches: + - 'main' + - 'dev' + workflow_dispatch: +# pull_request: +# branches: +# - 'master' +# - 'release/**' +# - 'dev' +# push: +# branches: +# - 'main' +# workflow_dispatch: + +jobs: + analyze: + name: Code checks on Pull Request + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up JDK 17 + uses: actions/setup-java@v1 + with: + java-version: 17 + + - name: Run unit tests + run: ./gradlew test