Skip to content

Commit

Permalink
Updated sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
labra committed Jan 21, 2024
1 parent 0b3cea5 commit c3ccc90
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
11 changes: 8 additions & 3 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
sonar.organization=pglez82
sonar.host.url=https://sonarcloud.io
sonar.projectKey=pglez82_asw2324_0
sonar.projectKey=Arquisoft_wiq_0
sonar.organization=arquisoft

# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=wiq_0
sonar.projectVersion=1.0

# Encoding of the source code. Default is default system encoding
sonar.host.url=https://sonarcloud.io
sonar.language=js
sonar.projectName=asw2324_0

Expand Down

0 comments on commit c3ccc90

Please sign in to comment.