Skip to content

Commit

Permalink
Remove sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed May 4, 2024
1 parent 6274496 commit 613c9d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,32 +53,6 @@ jobs:
- name: Run Clippy
run: cargo clippy

sonar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
rustflags: ""
- name: Install cargo-sonar and run Clippy
run: |
cargo install cargo-sonar
cargo clippy --message-format json > clippy-report.json
cargo sonar --clippy --clippy-path clippy-report.json
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

publish-dry-run:
needs: [test, format, sonar]
runs-on: ubuntu-latest
Expand Down
6 changes: 0 additions & 6 deletions sonar-project.properties

This file was deleted.

0 comments on commit 613c9d3

Please sign in to comment.