Skip to content

Conversation

@rufer7
Copy link
Owner

@rufer7 rufer7 commented Sep 9, 2025

This pull request updates the workflow configuration for SonarCloud analysis and adds a new test assertion library to the project dependencies. The most significant changes are the migration of the Sonar scanner cache and installation paths to use the GitHub Actions runner's temporary directory, and the addition of FluentAssertions to support more expressive unit tests.

Workflow improvements:

  • Updated the Sonar scanner cache and installation paths in .github/workflows/quality.yml to use ${{ runner.temp }}\scanner instead of the previous .sonar\scanner directory, ensuring better compatibility and isolation on the runner.
  • Changed all Sonar scanner invocations in the workflow to reference the new ${{ runner.temp }}\scanner path.
  • Added the property /d:sonar.terraform.provider.azure.version=3.100.0 to the Sonar scanner begin command for improved Terraform provider version tracking.

Dependency updates:

  • Added FluentAssertions version 8.6.0 to the src/ArbitraryProject/ArbitraryProject.csproj dependencies, enabling more expressive assertions in unit tests.

Install dotnet-sonarscanner in runner.temp to avoid error message "There were errors in the dependency analysis" on the "Dependencies" tab in SoanrQube Cloud due to inclusion of scanner directory
@rufer7 rufer7 merged commit 409b6ae into main Sep 9, 2025
3 checks passed
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues
1 Dependency risk

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants