Analyze and test all #4
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: Analyze and test all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-analyze-and-test | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
schedule: | |
# runs the CI everyday at 10AM | |
- cron: "0 10 * * *" | |
jobs: | |
semantic_pull_request: | |
# Semantic Pull Request https://workflows.vgv.dev/docs/workflows/semantic_pull_request | |
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1 | |
check_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/get-flutter | |
- name: run dart format check | |
run: dart format --set-exit-if-changed . | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/get-flutter | |
- name: analyze | |
run: flutter analyze | |
tests: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/get-flutter | |
- name: run flutter tests | |
run: flutter test |