Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build
on:
push:
branches:
- mvp
- Wesam-Naseer-patch-3
pull_request:
types: [opened, synchronize, reopened]
jobs:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/formatter.yml
Original file line number Diff line number Diff line change
@@ -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 .
22 changes: 22 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 5 additions & 7 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -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
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