Reuse code moved into pkg/lodim. #25
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
name: Check | |
on: | |
# Post-submit. | |
push: | |
branches: [ main ] | |
# Pre-submit. | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: dart-lang/[email protected] | |
- uses: actions/setup-node@v4 | |
- uses: browser-actions/setup-chrome@v1 | |
- uses: mfinelli/setup-imagemagick@v5 | |
- run: dart pub get | |
- run: dart format --output none --set-exit-if-changed . | |
- run: dart analyze | |
- run: dart test -P all | |
- run: ./chore coverage -- -P coverage | |
- name: Upload coverage | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: coverage/lcov.info |