chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.19.0 to 1.20.0 #653
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SonarCloud | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| sonarcloud: | |
| name: SonarCloud | |
| runs-on: ubuntu-latest | |
| if: ${{ !github.event.pull_request.head.repo.fork }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
| submodules: recursive | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '^1.24' | |
| - name: Install dependencies | |
| run: go install | |
| working-directory: ${{ env.relativePath }} | |
| - name: Build SDK project | |
| run: go build | |
| working-directory: ${{ env.relativePath }} | |
| - name: Run unit tests | |
| run: go test -coverprofile cover.out -coverpkg=./... ./... | |
| working-directory: ${{ env.relativePath }} | |
| - name: SonarCloud Scan | |
| uses: SonarSource/sonarqube-scan-action@v5 | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |