diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7f92c1..ba4c8c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,33 +53,3 @@ jobs: fail_ci_if_error: false verbose: true token: ${{ secrets.CODECOV_TOKEN }} - - - name: Archive code coverage results - uses: actions/upload-artifact@v4 - with: - name: code-coverage-report-${{ matrix.os }} - path: coverage.txt - - sonarCloudTrigger: - needs: build - name: SonarCloud Trigger - if: github.event_name != 'pull_request' - runs-on: ubuntu-latest - steps: - - name: Clone Repository - uses: actions/checkout@v5 - with: - # Disabling shallow clone is recommended for improving relevancy of reporting - fetch-depth: 0 - - - name: Download code coverage results - uses: actions/download-artifact@v5 - - - name: Display structure of downloaded files - run: ls -R - - - name: Analyze with SonarCloud - uses: sonarsource/sonarqube-scan-action@v6 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/README.md b/README.md index d0276d7..54284dc 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,6 @@ Self-Update library for Github, Gitea and Gitlab hosted applications in Go [![Godoc reference](https://godoc.org/github.com/creativeprojects/go-selfupdate?status.svg)](http://godoc.org/github.com/creativeprojects/go-selfupdate) [![Build](https://github.com/creativeprojects/go-selfupdate/workflows/Build/badge.svg)](https://github.com/creativeprojects/go-selfupdate/actions) [![codecov](https://codecov.io/gh/creativeprojects/go-selfupdate/branch/main/graph/badge.svg?token=3FejM0fkw2)](https://codecov.io/gh/creativeprojects/go-selfupdate) -[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=creativeprojects_go-selfupdate&metric=bugs)](https://sonarcloud.io/summary/new_code?id=creativeprojects_go-selfupdate) -[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=creativeprojects_go-selfupdate&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=creativeprojects_go-selfupdate) -[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=creativeprojects_go-selfupdate&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=creativeprojects_go-selfupdate) -[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=creativeprojects_go-selfupdate&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=creativeprojects_go-selfupdate) -[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=creativeprojects_go-selfupdate&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=creativeprojects_go-selfupdate) * [Self\-Update library for Github, Gitea and Gitlab hosted applications in Go](#self-update-library-for-github-gitea-and-gitlab-hosted-applications-in-go) diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 2dda65c..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,11 +0,0 @@ -sonar.organization=creativeprojects -sonar.projectKey=creativeprojects_go-selfupdate -sonar.projectName=go-selfupdate -sonar.projectVersion=1.4.1 - -sonar.sources=. -sonar.exclusions=**/*_test.go,/docs/** - -sonar.tests=. -sonar.test.inclusions=**/*_test.go -sonar.go.coverage.reportPaths=**/coverage.txt