Skip to content

Commit 923c57c

Browse files
author
Jegors Cemisovs
committed
Remove SonarQube from build configurations, README, and workflow
1 parent 0036a6a commit 923c57c

4 files changed

Lines changed: 9 additions & 31 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v6
14-
with:
15-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1614
- name: Set up JDK 17
1715
uses: actions/setup-java@v5
1816
with:
1917
distribution: 'temurin'
2018
java-version: 17
21-
- name: Cache SonarCloud packages
22-
uses: actions/cache@v4
23-
with:
24-
path: ~/.sonar/cache
25-
key: ${{ runner.os }}-sonar
26-
restore-keys: ${{ runner.os }}-sonar
2719
- name: Cache Gradle packages
2820
uses: actions/cache@v4
2921
with:
@@ -32,15 +24,3 @@ jobs:
3224
restore-keys: ${{ runner.os }}-gradle
3325
- name: Build and Test
3426
run: ./gradlew build --info
35-
36-
- name: SonarQube Analysis
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
39-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
40-
run: |
41-
if [ -n "$SONAR_TOKEN" ]; then
42-
./gradlew sonarqube --info
43-
else
44-
echo "SONAR_TOKEN is not set. Skipping analysis."
45-
fi
46-
continue-on-error: true

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rabestro_algorithms&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rabestro_algorithms)
2-
31
# Graph search algorithms
42

53
The project implements an interface for the weighted graph, as well as two algorithms for finding a path in the graph.

algorithm/build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@ plugins {
33
id 'java-library'
44
id 'maven-publish'
55
id 'jacoco'
6-
id 'org.sonarqube' version '3.4.0.2513'
7-
}
8-
9-
sonarqube {
10-
properties {
11-
property "sonar.projectKey", "rabestro_algorithms"
12-
property "sonar.organization", "rabestro"
13-
property "sonar.host.url", "https://sonarcloud.io"
14-
}
156
}
167

178
group 'lv.id.jc'

spring-shell.log

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
1781455537842:exit
2+
1781456189568:?
3+
1781456192011:help
4+
1781456201883:edges
5+
1781456210501:edges a
6+
1781456214703:edges A
7+
1781456223846:shortest
8+
1781456230087:shortest A D
9+
1781456235091:exit

0 commit comments

Comments
 (0)