File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 54
54
55
55
- name : Typecheck
56
56
run : yarn type-check
57
+
58
+ - name : SonarCloud Scan
59
+ uses : SonarSource/sonarcloud-github-action@master
60
+ env :
61
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 53
53
- name : Typecheck
54
54
run : yarn type-check
55
55
56
+ - name : SonarCloud Scan
57
+ uses : SonarSource/sonarcloud-github-action@master
58
+ env :
59
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
61
+
56
62
- name : Build
57
63
run : yarn build
58
64
Original file line number Diff line number Diff line change 1
1
# Lace UI toolkit
2
2
3
+ [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=alert_status&token=98802db7b585471a39ab75e8baf01cff96c561db )] ( https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit )
4
+ [ ![ Coverage] ( https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=coverage&token=98802db7b585471a39ab75e8baf01cff96c561db )] ( https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit )
5
+ [ ![ Security Rating] ( https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=security_rating&token=98802db7b585471a39ab75e8baf01cff96c561db )] ( https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit )
6
+ [ ![ Vulnerabilities] ( https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=vulnerabilities&token=98802db7b585471a39ab75e8baf01cff96c561db )] ( https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit )
7
+
3
8
## Getting Started
4
9
5
10
### Prerequisites
Original file line number Diff line number Diff line change
1
+ sonar.projectKey =input-output-hk_lace-ui-toolkit
2
+ sonar.organization =input-output-hk
3
+
4
+ sonar.projectName =Lace UI Toolkit
5
+ sonar.projectVersion =1.0
6
+
7
+ sonar.inclusions =src/**/*
8
+ sonar.exclusions =node_modules/**/*
9
+
10
+ sonar.sourceEncoding =UTF-8
You can’t perform that action at this time.
0 commit comments