Skip to content

[CI] 2.0.0

[CI] 2.0.0 #7

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
check-format:
name: Check format using flutter format
runs-on: ubuntu-latest
container:
image: ghcr.io/cirruslabs/flutter:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check format
run: dart format --set-exit-if-changed .
lint:
name: Lint
runs-on: ubuntu-latest
container:
image: ghcr.io/cirruslabs/flutter:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get dependencies for example
run: flutter pub get
working-directory: example
- name: Lint using flutter analyze
run: flutter analyze
# test:
# name: Test
# runs-on: ubuntu-latest
# container:
# image: ghcr.io/cirruslabs/flutter:latest
#
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Test using flutter test
# run: flutter test