update dependencies December 23 #107
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
name: 'test' | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: 'run flutter_test and analyze' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'checkout' | |
uses: actions/checkout@v3 | |
- name: 'setup java' | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt-openj9' | |
java-version: '9' | |
- name: 'setup flutter' | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: 'update PATH' | |
run: | | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH && \ | |
echo "PUB_CACHE="$HOME/.pub-cache"" >> $GITHUB_ENV | |
- name: 'activate coverage' | |
run: | | |
dart pub global activate coverage | |
- name: 'install dependencies' | |
uses: bluefireteam/melos-action@v1 | |
with: | |
melos-version: '3.0.1' | |
- name: 'run tests' | |
run: | | |
melos run test | |
- name: 'update coverage' | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true | |
files: packages/*/coverage/lcov.info |