diff --git a/.github/settings.yml b/.github/settings.yml index 7f4f86a0..18c45426 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -12,36 +12,52 @@ branches: protection: required_status_checks: contexts: - - "bazel-asan" - "bazel-dbg" - "bazel-opt" - - "bazel-tsan" + - "build-alpine-s390x" + - "build-android" - "build-compcert" - "build-macos" - "build-nacl" - "build-tcc" - "build-win32" - "build-win64" - - "CodeFactor" - - "common / buildifier" - - "coverage-linux" - "ci/circleci: asan" + - "ci/circleci: bazel-asan" + - "ci/circleci: bazel-msan" + - "ci/circleci: bazel-tsan" - "ci/circleci: clang-analyze" - "ci/circleci: clang-tidy" - "ci/circleci: cpplint" - "ci/circleci: infer" - - "ci/circleci: msan" - "ci/circleci: static-analysis" - "ci/circleci: tsan" - "ci/circleci: ubsan" - "cimple" + - "cimplefmt" + - "CodeFactor" - "code-review/reviewable" - - "continuous-integration/appveyor/pr" + - "common / buildifier" + - "coverage-linux" - "docker-bootstrap-node" - "docker-bootstrap-node-websocket" + - "docker-clusterfuzz" + - "docker-esp32" + - "docker-fuzzer" - "docker-toxcore-js" + - "docker-win32" + - "docker-win64" + - "doxygen" + - "freebsd" + - "Hound" + - "misra" - "mypy" + - "program-analysis" - "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: diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index 8e3ffb6c..b10bfc8e 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -15,7 +15,7 @@ jobs: sonar-scan: runs-on: ubuntu-latest env: - SONAR_SCANNER_VERSION: 4.4.0.2170 + SONAR_SCANNER_VERSION: 5.0.1.3006 SONAR_SERVER_URL: "https://sonarcloud.io" BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed steps: @@ -23,10 +23,10 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis submodules: recursive - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: Download and set up sonar-scanner env: SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip