diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2df9bdbc0..cc8a21c0c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,32 +1,33 @@ -#name: Quality check -# -#on: -# push: -# branches: -# - develop -# -## TODO TLAD run `flutter format -l 1000 .` and fail if any -# -#jobs: -# build: -# name: Check code quality. -# runs-on: ubuntu-latest -# steps: -# - uses: subosito/flutter-action@v1 -# with: -# channel: stable -# flutter-version: '2.0.1' -# -# - name: Clone the repository. -# uses: actions/checkout@v2 -# -# - name: Get packages for the Flutter project. -# run: flutter pub get -# -# - name: Update the flutter version file. -# working-directory: ${{ github.workspace }}/scripts -# run: ./update_flutter_version.sh -# +name: Quality check + +on: + push: + branches: + - develop + +# TODO TLAD run `flutter format -l 1000 .` and fail if any + +jobs: + build: + name: Check code quality. + runs-on: ubuntu-latest + steps: + - uses: subosito/flutter-action@v1 + with: + channel: stable + flutter-version: '2.0.1' + + - name: Clone the repository. + uses: actions/checkout@v2 + + - name: Get packages for the Flutter project. + run: flutter pub get + + - name: Update the flutter version file. + working-directory: ${{ github.workspace }}/scripts + run: ./update_flutter_version.sh + +# TODO TLAD uncomment when no longer on master channel # - name: Static analysis. # run: flutter analyze #