2020 - name : Install Rust
2121 run : rustup update stable
2222 - name : Install cargo-llvm-cov
23- uses : taiki-e/install-action@cargo-llvm-cov
23+ uses : taiki-e/install-action@7a9da991c71dfd905b2ee8252a9ce162f176dc6f
2424 - name : Install Clippy
2525 run : rustup component add clippy
2626 - name : Install cargo-sonar and run Clippy
@@ -59,12 +59,14 @@ jobs:
5959 with :
6060 name : coverage-report
6161
62+ # yamllint disable rule:line-length
6263 - name : Upload coverage reports to Codecov with GitHub Action
63- uses : codecov/codecov-action@v5
64+ uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
6465 with :
6566 files : lcov.info
6667 token : ${{ secrets.CODECOV_TOKEN }} # required
6768 verbose : true # optional (default = false)
69+ # yamllint enable rule:line-length
6870
6971 sonarqube :
7072 name : SonarQube
@@ -80,12 +82,14 @@ jobs:
8082 uses : actions/download-artifact@v5
8183 with :
8284 name : coverage-report
85+ # yamllint disable rule:line-length
8386 - name : SonarCloud Scan
84- uses : SonarSource/sonarqube-scan-action@master
87+ uses : SonarSource/sonarqube-scan-action@1a6d90ebcb0e6a6b1d87e37ba693fe453195ae25 # v5
8588 env :
8689 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8790 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
8891 with :
8992 args : >
9093 -Dsonar.externalIssuesReportPaths=sonar-issues.json
9194 -Dsonar.rust.clippy.reportPaths=my-clippy-report.json
95+ # yamllint enable rule:line-length
0 commit comments