Skip to content

Commit

Permalink
fix (ci/cd) [QCMPLUS-38] - Updated GitHub Actions Workflow to Qodana …
Browse files Browse the repository at this point in the history
…Scanning for Frontend:

Signed-off-by: Teclit <[email protected]>
  • Loading branch information
Teclit committed Aug 22, 2024
1 parent a3be0e5 commit 3a8d38a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,24 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Qodana Scan

- name: Qodana Scan Backend
uses: JetBrains/[email protected]
with:
project-dir: ./ # Specify the backend directory
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

- name: Qodana Scan Frontend (qcmplusweb)
uses: JetBrains/[email protected]
with:
project-dir: ./qcmplusweb # Specify the frontend directory
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

Expand Down Expand Up @@ -135,4 +146,4 @@ jobs:
run: docker push teclit/qcmplus:${{ env.BRANCH_NAME }}-${{ env.COMMIT_SHA }}

- name: Push Docker image to Docker Hub with latest tag
run: docker push teclit/qcmplus:latest
run: docker push teclit/qcmplus:latest

0 comments on commit 3a8d38a

Please sign in to comment.