Sha256: d36f57744d51c4a7b48c899939d22079dd0023d04620c7279053078e76b4c740
Contents?: true
Size: 1006 Bytes
Versions: 2
Compression:
Stored size: 1006 Bytes
Contents
on: push: branches: - main pull_request: types: [opened, synchronize, reopened] name: SonarCloud Analysis jobs: sonarcloud: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: ruby-version: "3.1" - name: "Install dependencies" run: bundle install - name: Run tests for coverage run: bundle exec rspec env: COVERAGE: json - name: fix code coverage paths working-directory: ./coverage run: | sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.json - name: SonarCloud Scan uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bitly-3.0.0 | .github/workflows/sonarcloud.yml |
bitly-2.1.0 | .github/workflows/sonarcloud.yml |