From 140d54945c7fc5a231fb7e6a86a49af11af47cf5 Mon Sep 17 00:00:00 2001 From: SajtyamMauryakit Date: Thu, 12 Mar 2026 03:02:22 +0530 Subject: [PATCH 1/2] add code quality --- .github/workflows/code-quality.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/code-quality.yml diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml new file mode 100644 index 0000000..aed058e --- /dev/null +++ b/.github/workflows/code-quality.yml @@ -0,0 +1,22 @@ +name: Code Quality +on: + push: + branches: + - main +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribition: 'temurin' + java-version: '17' + - name: build with Meven + run: mvn clean install -DskipTests + - name: Run Tests + run: mvn test + + \ No newline at end of file From 37cd0cf173a0048518b8106ca73890c04b0fa484 Mon Sep 17 00:00:00 2001 From: Satyam Maurya <144161614+SatyamMauryakit@users.noreply.github.com> Date: Thu, 12 Mar 2026 03:08:17 +0530 Subject: [PATCH 2/2] Update code-quality.yml --- .github/workflows/code-quality.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index aed058e..90a281f 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,8 +1,6 @@ name: Code Quality on: - push: - branches: - - main + workflow_dispatch: jobs: validate: runs-on: ubuntu-latest @@ -19,4 +17,4 @@ jobs: - name: Run Tests run: mvn test - \ No newline at end of file +