From 83d227d1fadf3d13c9ba28441d72914d3cb2f0d6 Mon Sep 17 00:00:00 2001 From: Tommy <54859075+tommyxchow@users.noreply.github.com> Date: Fri, 3 Sep 2021 02:56:52 -0400 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..4d74199f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + test: + name: Test on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + steps: + - uses: actions/checkout@v2 + - uses: subosito/flutter-action@v1 + + - run: flutter doctor -v + - run: flutter pub get + - run: flutter analyze + - run: flutter format . + - run: flutter test