Skip to content

Commit c8fdf6c

Browse files
committed
another attempt to have sonar work
1 parent 9aae32d commit c8fdf6c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/analysis.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,22 @@ jobs:
7474
</toolchain>
7575
</toolchains>
7676
EOF
77-
- name: Cache SonarCloud packages
78-
uses: actions/cache@v4
79-
with:
80-
path: ~/.sonar/cache
81-
key: ${{ runner.os }}-sonar
82-
restore-keys: ${{ runner.os }}-sonar
83-
- name: Update sonar config
84-
run: |
85-
sed -i -e 's|^\(.*<sonar.projectKey>\).*\(</sonar.projectKey>\)$|\1ClickHouse_clickhouse-jdbc\2|' \
86-
-e 's|^\(.*<sonar.organization>\).*\(</sonar.organization>\)$|\1clickhouse-java\2|' pom.xml
87-
if: github.repository_owner == 'ClickHouse'
88-
- name: Build and install
89-
run: |
90-
find . -type f -name "simplelogger.*" -exec rm -fv '{}' \;
91-
mvn -q --batch-mode -DclickhouseVersion=$PREFERRED_LTS_VERSION \
92-
-DskipTests install
77+
# - name: Cache SonarCloud packages
78+
# uses: actions/cache@v4
79+
# with:
80+
# path: ~/.sonar/cache
81+
# key: ${{ runner.os }}-sonar
82+
# restore-keys: ${{ runner.os }}-sonar
83+
# - name: Update sonar config
84+
# run: |
85+
# sed -i -e 's|^\(.*<sonar.projectKey>\).*\(</sonar.projectKey>\)$|\1ClickHouse_clickhouse-jdbc\2|' \
86+
# -e 's|^\(.*<sonar.organization>\).*\(</sonar.organization>\)$|\1clickhouse-java\2|' pom.xml
87+
# if: github.repository_owner == 'ClickHouse'
88+
# - name: Build and install
89+
# run: |
90+
# find . -type f -name "simplelogger.*" -exec rm -fv '{}' \;
91+
# mvn -q --batch-mode -DclickhouseVersion=$PREFERRED_LTS_VERSION \
92+
# -DskipTests install
9393
- name: Analyze
9494
env:
9595
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any

0 commit comments

Comments
 (0)