diff --git a/README.md b/README.md index 346ffda..0295af7 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ -# Assignment \ No newline at end of file +# Assignment +Code Analysis using SonarCloud + +![image](https://github.com/M-Hunain5037/Assignment/assets/141824020/80ca5587-b2a3-44e3-b261-ec9882f27f01) diff --git a/SonarSource/sonarcloud-github-action b/SonarSource/sonarcloud-github-action index a610c02..35ec001 100644 --- a/SonarSource/sonarcloud-github-action +++ b/SonarSource/sonarcloud-github-action @@ -8,8 +8,7 @@ on: jobs: build: - - runs-on: ubuntu-latest + runs-on: windows-latest strategy: fail-fast: false matrix: @@ -34,9 +33,8 @@ jobs: run: | python -m unittest test_main.py - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + uses: SonarSource/sonarcloud-github-action@v1.6 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} with: projectBaseDir: .