Skip to content

build(ci): add release workflow and improve CI configuration #1

build(ci): add release workflow and improve CI configuration

build(ci): add release workflow and improve CI configuration #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install lcov
run: sudo apt-get install -y lcov
- name: Checkout the code
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
- name: Get dependencies
run: flutter pub get
- name: Check code formatting
run: dart format --output=none --set-exit-if-changed .
- name: Static code analysis
run: flutter analyze --no-pub --no-congratulate
- name: Run unit tests
run: make test
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}