Skip to content

useOr

useOr #111

Workflow file for this run

name: tests
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: |
dart pub get
dart pub global activate coverage
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze source
run: dart analyze
- name: Run tests
run: dart pub global run coverage:test_with_coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}