chore(deps): update codecov/codecov-action action to v4 - autoclosed #404
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: Flutter Tests | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: [ '**.md' ] | |
pull_request: | |
branches: [ master ] | |
paths-ignore: [ '**.md' ] | |
schedule: | |
# Runs at 02:00 UTC on the 1, 4, 7, 10, 13, 16, 19, 22, 25, 28 and 31st of every month. | |
- cron: "0 2 */3 * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
channel: [ 'stable', 'beta' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/[email protected] | |
with: | |
channel: ${{ matrix.channel }} | |
- name: Doctor | |
run: flutter doctor | |
- name: Install dependencies | |
run: flutter packages get | |
- name: Format | |
if: ${{ matrix.channel == 'stable' }} | |
run: flutter format lib test --set-exit-if-changed | |
- name: Analyze | |
if: ${{ matrix.channel == 'stable' }} | |
run: flutter analyze lib test | |
- name: Run tests | |
run: flutter test --coverage --coverage-path=lcov.info | |
- uses: codecov/[email protected] |