Skip to content

Bump subosito/flutter-action from 1 to 2 #12

Bump subosito/flutter-action from 1 to 2

Bump subosito/flutter-action from 1 to 2 #12

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Dart Test
on:
workflow_dispatch:
# push:
# branches: [ "main" ]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- name: Install dependencies
run: cd state_beacon && flutter pub get
# Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed .
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
run: cd state_beacon && flutter analyze
- name: Run tests
run: cd state_beacon && flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./state_beacon/coverage/lcov.info
flags: unittests