Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Sonar Build #6827

Merged
merged 2 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,48 +275,6 @@ jobs:
steps.run-tests.outcome == 'failure' ||
steps.run-tests.outcome == 'cancelled'

sonar:
runs-on: ubuntu-latest
name: Sonar Pull-Request
needs: check-changes
if: needs.check-changes.outputs.library_changes == 'true'
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
architecture: x64

- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.x
7.x
8.x

- uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-

- name: Run Sonar Analysis
run: ./build.cmd SonarPr --SonarToken $SONARTOKEN
env:
HC_GITHUB_PR_NR: ${{ github.event.pull_request.number }}
HC_GITHUB_HEAD_REF: ${{ github.event.pull_request.head.ref }}
HC_GITHUB_BASE_REF: ${{ github.event.pull_request.base.ref }}
GITHUB_REPOSITORY: ${{ github.repository }}
SONARTOKEN: ${{ secrets.SONARTOKEN }}

codeql:
name: CodeQL
runs-on: ubuntu-latest
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,3 @@ jobs:
done
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

sonar_analysis:
name: Sonar
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
architecture: x64

- name: Run Sonar Analysis
run: ./build.cmd Sonar --SonarToken $SONARTOKEN --SemVersion ${{ env.GIT_TAG }}
env:
GITHUB_REPOSITORY: ${{ github.repository }}
SONARTOKEN: ${{ secrets.SONARTOKEN }}
Loading