Skip to content

Commit

Permalink
resolving comments and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vihar-s1 committed Oct 6, 2024
1 parent 5bf4086 commit d440894
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: ["main"]
branches: [ "main" ]
pull_request:
branches: ["main"]
branches: [ "main" ]

jobs:
analyze:
Expand All @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ["java-kotlin"]
language: [ "java-kotlin" ]

steps:
- name: Checkout repository
Expand All @@ -42,4 +42,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
category: "/language:${{matrix.language}}"
17 changes: 9 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: Run Unit-Tests
name: "Run Unit-Tests"

on:
push:
branches:
- main
branches: [ "main" ]
pull_request:
branches:
- main
branches: [ "main" ]


jobs:
unit-tests:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'
distribution: "oracle"
java-version: "17"
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run test suites
run: ./gradlew test
run: ./gradlew test

0 comments on commit d440894

Please sign in to comment.