Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rehabaam authored Nov 11, 2023
1 parent 7098e08 commit db19d9c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ jobs:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0

# Sonar cloud scan for TDBackend project
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.SQGH_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

# Get Project dependencies
- name: Get dependencies
run: |
Expand All @@ -49,9 +42,16 @@ jobs:
run: |
go install github.com/ory/go-acc@latest
go-acc -o coverage.out ./... -- -timeout 30m
# Sonar cloud scan for TDBackend project
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.SQGH_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Code coverage
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ github.workspace }}/coverage.out
Expand Down

0 comments on commit db19d9c

Please sign in to comment.