diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index 5c976b4..e59df7a 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -73,10 +73,9 @@ jobs: DB_USERNAME: root ELASTICSEARCH_HOST: '127.0.0.1:9200' - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - files: ./coverage.xml - fail_ci_if_error: true - verbose: true - token: ${{ secrets.CODECOV_TOKEN }} + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/README.md b/README.md index d5588f9..dbb8d29 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,6 @@ It’s built on top of the latest release of [Laravel Scout](https://laravel.com package. Using this package, you are free to take advantage of all of Laravel Scout’s great features, and at the same time leverage the complete set of ElasticSearch’s search experience. -If you need any help, [stack overflow](https://stackoverflow.com/questions/tagged/laravel-scout%20laravel%20elasticsearch) is the preferred and recommended way to ask support questions. - ## :two_hearts: Features Don't forget to :star: the package if you like it. :pray: diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..c7f9b00 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,4 @@ +sonar.projectKey=matchish_laravel-scout-elasticsearch +sonar.organization=matchish + +sonar.php.coverage.reportPaths=coverage.xml