Skip to content

[Chore] Bump version 1.0.0 #558

[Chore] Bump version 1.0.0

[Chore] Bump version 1.0.0 #558

Workflow file for this run

name: CI
on:
# Trigger the workflow on push or pull request,
# but push action is only for the feature branch
pull_request:
types: [ opened, synchronize, edited, reopened ]
push:
branches-ignore:
- develop
- 'release/**'
jobs:
lint_and_test:
name: Static code analyze & Unit test
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v3
# Setup Java environment in order to build the Android app.
- uses: actions/setup-java@v1
with:
java-version: '12.x'
# Setup the flutter environment.
- uses: subosito/flutter-action@v1
with:
channel: 'stable' # 'dev', 'alpha', default to: 'stable'
flutter-version: '2.10.0'
- name: Get flutter dependencies.
run: flutter pub get
- name: Run code generator.
run: flutter packages pub run build_runner build --delete-conflicting-outputs
- name: Check for any formatting issues in the code.
run: flutter format --set-exit-if-changed .
- name: Statically analyze the Dart code for any errors.
run: flutter analyze .
- name: Run widget tests, unit tests.
run: flutter test --machine --coverage
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: ./coverage/lcov.info
flags: unittests # optional
name: Upload coverage to codecov
fail_ci_if_error: false
verbose: true