Skip to content

Commit bffefc6

Browse files
authored
Merge pull request #38 from Power2All/Power2All-patch-2
Create build.yml
2 parents 8d7d805 + 4390771 commit bffefc6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
9+
jobs:
10+
build:
11+
name: Build
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
17+
- uses: sonarsource/sonarqube-scan-action@master
18+
env:
19+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
21+
# If you wish to fail your job when the Quality Gate is red, uncomment the
22+
# following lines. This would typically be used to fail a deployment.
23+
# - uses: sonarsource/sonarqube-quality-gate-action@master
24+
# timeout-minutes: 5
25+
# env:
26+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)