mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
chore: Upgrade sonar-scan jvm to java 17.
https://community.sonarsource.com/t/java-11-is-deprecated-as-a-runtime-env-to-scan-your-projects/9659
This commit is contained in:
parent
d1e850c56c
commit
d390947245
30
.github/settings.yml
vendored
30
.github/settings.yml
vendored
|
@ -12,36 +12,52 @@ branches:
|
||||||
protection:
|
protection:
|
||||||
required_status_checks:
|
required_status_checks:
|
||||||
contexts:
|
contexts:
|
||||||
- "bazel-asan"
|
|
||||||
- "bazel-dbg"
|
- "bazel-dbg"
|
||||||
- "bazel-opt"
|
- "bazel-opt"
|
||||||
- "bazel-tsan"
|
- "build-alpine-s390x"
|
||||||
|
- "build-android"
|
||||||
- "build-compcert"
|
- "build-compcert"
|
||||||
- "build-macos"
|
- "build-macos"
|
||||||
- "build-nacl"
|
- "build-nacl"
|
||||||
- "build-tcc"
|
- "build-tcc"
|
||||||
- "build-win32"
|
- "build-win32"
|
||||||
- "build-win64"
|
- "build-win64"
|
||||||
- "CodeFactor"
|
|
||||||
- "common / buildifier"
|
|
||||||
- "coverage-linux"
|
|
||||||
- "ci/circleci: asan"
|
- "ci/circleci: asan"
|
||||||
|
- "ci/circleci: bazel-asan"
|
||||||
|
- "ci/circleci: bazel-msan"
|
||||||
|
- "ci/circleci: bazel-tsan"
|
||||||
- "ci/circleci: clang-analyze"
|
- "ci/circleci: clang-analyze"
|
||||||
- "ci/circleci: clang-tidy"
|
- "ci/circleci: clang-tidy"
|
||||||
- "ci/circleci: cpplint"
|
- "ci/circleci: cpplint"
|
||||||
- "ci/circleci: infer"
|
- "ci/circleci: infer"
|
||||||
- "ci/circleci: msan"
|
|
||||||
- "ci/circleci: static-analysis"
|
- "ci/circleci: static-analysis"
|
||||||
- "ci/circleci: tsan"
|
- "ci/circleci: tsan"
|
||||||
- "ci/circleci: ubsan"
|
- "ci/circleci: ubsan"
|
||||||
- "cimple"
|
- "cimple"
|
||||||
|
- "cimplefmt"
|
||||||
|
- "CodeFactor"
|
||||||
- "code-review/reviewable"
|
- "code-review/reviewable"
|
||||||
- "continuous-integration/appveyor/pr"
|
- "common / buildifier"
|
||||||
|
- "coverage-linux"
|
||||||
- "docker-bootstrap-node"
|
- "docker-bootstrap-node"
|
||||||
- "docker-bootstrap-node-websocket"
|
- "docker-bootstrap-node-websocket"
|
||||||
|
- "docker-clusterfuzz"
|
||||||
|
- "docker-esp32"
|
||||||
|
- "docker-fuzzer"
|
||||||
- "docker-toxcore-js"
|
- "docker-toxcore-js"
|
||||||
|
- "docker-win32"
|
||||||
|
- "docker-win64"
|
||||||
|
- "doxygen"
|
||||||
|
- "freebsd"
|
||||||
|
- "Hound"
|
||||||
|
- "misra"
|
||||||
- "mypy"
|
- "mypy"
|
||||||
|
- "program-analysis"
|
||||||
- "sonar-scan"
|
- "sonar-scan"
|
||||||
|
- "tokstyle"
|
||||||
|
- "TokTok.c-toxcore"
|
||||||
|
- "TokTok.c-toxcore (windows_msvc_conan shared)"
|
||||||
|
- "TokTok.c-toxcore (windows_msvc_conan static)"
|
||||||
|
|
||||||
# Labels specific to c-toxcore.
|
# Labels specific to c-toxcore.
|
||||||
labels:
|
labels:
|
||||||
|
|
6
.github/workflows/sonar-scan.yml
vendored
6
.github/workflows/sonar-scan.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
sonar-scan:
|
sonar-scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
SONAR_SCANNER_VERSION: 4.4.0.2170
|
SONAR_SCANNER_VERSION: 5.0.1.3006
|
||||||
SONAR_SERVER_URL: "https://sonarcloud.io"
|
SONAR_SERVER_URL: "https://sonarcloud.io"
|
||||||
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
|
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
|
||||||
steps:
|
steps:
|
||||||
|
@ -23,10 +23,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 17
|
||||||
- name: Download and set up sonar-scanner
|
- name: Download and set up sonar-scanner
|
||||||
env:
|
env:
|
||||||
SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip
|
SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip
|
||||||
|
|
Loading…
Reference in New Issue
Block a user