File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Analyze
2
2
on :
3
- pull_request :
3
+ push :
4
4
workflow_dispatch :
5
5
6
6
concurrency :
34
34
CODE_SIGNING_ALLOWED=NO
35
35
- name : Post test results
36
36
uses : kishikawakatsumi/xcresulttool@v1
37
- if : success() || failure()
37
+ if : ${{ ( success() || failure()) && github.event_name == 'pull_request' }}
38
38
with :
39
39
path : " TestResults.xcresult"
40
40
title : ${{ env.test-results-check-name }}
@@ -49,18 +49,13 @@ jobs:
49
49
with :
50
50
name : sonarqube-generic-coverage
51
51
path : sonarqube-generic-coverage.xml
52
-
53
-
54
- sonarcloud :
55
- name : SonarCloud scan
56
- runs-on : ubuntu-latest
57
- needs : unit-tests-run
58
- steps :
59
52
- name : Checkout
60
53
uses : actions/checkout@v3
61
54
with :
62
55
# Disabling shallow clone is recommended for improving relevancy of reporting
63
56
fetch-depth : 0
57
+ - name : Replace version
58
+ run : sed -i '' "s/projectVersion=1.0/projectVersion=$(xcrun agvtool what-version -terse)/g" sonar-project.properties
64
59
- uses : actions/download-artifact@master # download all previously generated artifacts
65
60
with :
66
61
name : sonarqube-generic-coverage
Original file line number Diff line number Diff line change 5
5
# SlimHUD
6
6
[ ![ FOSSA Status] ( https://app.fossa.com/api/projects/git%2Bgithub.com%2FAlexPerathoner%2FSlimHUD.svg?type=shield )] ( https://app.fossa.com/projects/git%2Bgithub.com%2FAlexPerathoner%2FSlimHUD?ref=badge_shield )
7
7
[ ![ CodeFactor] ( https://www.codefactor.io/repository/github/alexperathoner/slimhud/badge )] ( https://www.codefactor.io/repository/github/alexperathoner/slimhud )
8
- [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=AlexPerathoner_SlimHUD &metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=AlexPerathoner_SlimHUD )
8
+ [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=alexpera_slimhud &metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=alexpera_slimhud )
9
9
10
10
11
11
Replacement for MacOS' HUDs.
You can’t perform that action at this time.
0 commit comments