From 61cf5e68a2c4fdfa219815ff9511df03e8568004 Mon Sep 17 00:00:00 2001 From: Vihar Shah Date: Tue, 8 Oct 2024 23:57:57 +0530 Subject: [PATCH] resolving comments --- .github/workflows/codeql.yml | 14 +++++--------- .github/workflows/unit-tests.yml | 3 ++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4ac21e2..c680125 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -19,28 +19,24 @@ jobs: strategy: fail-fast: false matrix: - language: [ "java-kotlin" ] + language: [ "java", "kotlin" ] steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} queries: security-extended,security-and-quality # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). - # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index d778f53..7f3d4a8 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,6 +10,7 @@ on: jobs: unit-tests: runs-on: ubuntu-latest + name: Run Unit-Tests permissions: actions: read contents: read @@ -27,5 +28,5 @@ jobs: uses: gradle/actions/setup-gradle@v3 - name: Run test suites - run: ./gradlew test + run: ./gradlew test --info