From 24a428bd29189554b047b88cd4c33a3ce257e27f Mon Sep 17 00:00:00 2001 From: Wesam-Naseer <102805195+Wesam-Naseer@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:01:46 +0300 Subject: [PATCH 1/5] Update sonar-project.properties --- sonar-project.properties | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index 3c396f3..1a4d3fb 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,15 +1,13 @@ sonar.projectKey=InnoSWP_bs2102-cv-parser sonar.organization=innoswp -sonar.c.file.suffixes=- -sonar.cpp.file.suffixes=- -sonar.objc.file.suffixes=- + # This is the name and version displayed in the SonarCloud UI. #sonar.projectName=bs2102-cv-parser #sonar.projectVersion=1.0 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -sonar.sources=. +sonar.sources=lib # Encoding of the source code. Default is default system encoding -#sonar.sourceEncoding=UTF-8 +sonar.sourceEncoding=UTF-8 From d4aef73fe4f3a36eadc5b70e92c62571ec93134c Mon Sep 17 00:00:00 2001 From: Wesam-Naseer <102805195+Wesam-Naseer@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:05:39 +0300 Subject: [PATCH 2/5] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22ef385..eeb75fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build on: push: branches: - - mvp + - Wesam-Naseer-patch-3 pull_request: types: [opened, synchronize, reopened] jobs: From d16dd9d64a9c4582531448e48b7be673ab525250 Mon Sep 17 00:00:00 2001 From: Wesam-Naseer <102805195+Wesam-Naseer@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:07:20 +0300 Subject: [PATCH 3/5] Create formatter.yml --- .github/workflows/formatter.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/formatter.yml diff --git a/.github/workflows/formatter.yml b/.github/workflows/formatter.yml new file mode 100644 index 0000000..4dc686b --- /dev/null +++ b/.github/workflows/formatter.yml @@ -0,0 +1,22 @@ +name: Format Code Base + +on: + push: + branches-ignore: [ Wesam-Naseer-patch-3 ] + +jobs: + build: + name: Format Code Base + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: Install flutter + run: sudo snap install flutter --classic + + - name: Fetch dependencies + run: flutter pub get + + - name: Format Code Base + run: flutter format --set-exit-if-changed . From 4016be7a01a024e55a8ad0f9e728079dfbfdae87 Mon Sep 17 00:00:00 2001 From: Wesam-Naseer <102805195+Wesam-Naseer@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:08:14 +0300 Subject: [PATCH 4/5] Create linter.yml --- .github/workflows/linter.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..01f992e --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,22 @@ +name: Lint Code Base + +on: + push: + branches-ignore: [ Wesam-Naseer-patch-3 ] + +jobs: + build: + name: Lint Code Base + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: Install flutter + run: sudo snap install flutter --classic + + - name: Fetch dependencies + run: flutter pub get + + - name: Lint Code Base + run: flutter analyze From 75d13406676e7c6560f115c7444741899fac96a3 Mon Sep 17 00:00:00 2001 From: Wesam-Naseer <102805195+Wesam-Naseer@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:15:58 +0300 Subject: [PATCH 5/5] Update sonar-project.properties --- sonar-project.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index 1a4d3fb..be7208b 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,8 +3,8 @@ sonar.organization=innoswp # This is the name and version displayed in the SonarCloud UI. -#sonar.projectName=bs2102-cv-parser -#sonar.projectVersion=1.0 +sonar.projectName=bs2102-cv-parser +sonar.projectVersion=1.0 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. sonar.sources=lib