Migrate from html to web #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/setup-dart@v1 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Analyze project source | |
run: dart analyze | |
- name: Run tests | |
run: dart run test --coverage="./coverage" | |
- name: Activate coverage | |
run: dart pub global activate coverage | |
- name: Format coverage | |
run: format_coverage -l -i ./ -o lcov.info --packages=.dart_tool/package_config.json --report-on=lib | |
- name: Upload coverage | |
run: bash <(curl -s https://codecov.io/bash) |