Skip to content

Commit

Permalink
Do CI in GitHub Actions (#29)
Browse files Browse the repository at this point in the history
Compared to AppVeyor, GitHub Actions runs faster has free parallel runs that allows to build and test at the same time.
  • Loading branch information
lwchkg authored Dec 27, 2023
1 parent 16376cc commit e5a6e2a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Flutter

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.5'
channel: 'stable'
cache: true
- run: flutter test

build_web:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.5'
channel: 'stable'
cache: true
- run: flutter build web

0 comments on commit e5a6e2a

Please sign in to comment.