I guess enshittification of Codemagic so let's not bother to display … #12
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 of your workflow. | |
name: "Checks" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Contains a sequence of tasks. | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v1 | |
# Sets up a flutter environment. | |
# https://github.com/marketplace/actions/flutter-action | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" # or: 'dev' or 'beta' | |
- name: Pub get | |
run: flutter pub get | |
- name: Analyze | |
run: flutter analyze | |
- name: Check format | |
run: dart format --set-exit-if-changed . | |
- name: Run unit tests | |
run: flutter test --test-randomize-ordering-seed random |