Skip to content

Commit 7628990

Browse files
authored
Rename project (en localization) (#3)
* deep refactoring (only one module), naming * localization (en, ru) * docs (en)
1 parent 29363ba commit 7628990

File tree

38 files changed

+5060
-1633
lines changed

38 files changed

+5060
-1633
lines changed

.github/workflows/sonar-scanner.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
name: sonar-scanner
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
410

511
jobs:
612
SonarScanner:
7-
if: github.repository == 'astrizhachuk/CodeStatusHTTP'
13+
if: github.repository == 'astrizhachuk/HTTPStatusCodes'
814
runs-on: ubuntu-latest
915
steps:
1016
- name: Checkout
@@ -15,13 +21,15 @@ jobs:
1521
if: github.event_name == 'push'
1622
run: sonar-scanner
1723
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
24+
-Dsonar.projectVersion=$(grep -oPm1 "(?<=<version>)[^<]+" HTTPStatusCodes/src/Configuration/Configuration.mdo)
1825
-Dsonar.host.url=https://sonar.openbsl.ru
1926
-Dsonar.branch.name=${GITHUB_REF#refs/heads/}
2027
- name: Run SonarQube on pull request
2128
if: github.event_name == 'pull_request'
2229
run: sonar-scanner
2330
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
2431
-Dsonar.host.url=https://sonar.openbsl.ru
32+
-Dsonar.projectVersion=$(grep -oPm1 "(?<=<version>)[^<]+" HTTPStatusCodes/src/Configuration/Configuration.mdo)
2533
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
2634
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
2735
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

CodeStatusHTTP.Tests/features/all/Tests_КодОтветаHTTP.feature

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)