File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
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
Original file line number Diff line number Diff line change 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
53The project implements an interface for the weighted graph, as well as two algorithms for finding a path in the graph.
Original file line number Diff line number Diff 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
178group ' lv.id.jc'
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments