Skip to content

Commit

Permalink
Add sonarcloud integration components
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-gp committed Feb 5, 2024
1 parent d6054d4 commit 135645f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/.ci_cd.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: CI/CD
on: push
jobs:
test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Run SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
build:
runs-on: self-hosted
# if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
Expand Down
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sonar.projectName=zxcvbn
sonar.projectKey=gympass_zxcvbn
sonar.organization=gympass
sonar.projectVersion=1.0
sonar.host.url=https://sonarcloud.io
sonar.links.homepage=https://sonarcloud.io/project/overview?id=gympass_zxcvbn

sonar.sources=.

0 comments on commit 135645f

Please sign in to comment.