From fdaf3dbf57e829106d4e8417c5b87791318e00fc Mon Sep 17 00:00:00 2001 From: Dain Nilsson Date: Fri, 13 May 2022 15:53:19 +0200 Subject: [PATCH] Add version and build file modification checks to Android build. --- .github/workflows/android.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 004806c9..f06ecdef 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -35,6 +35,12 @@ jobs: with: path: 'app' + - name: Check app versions + run: | + python set-version.py + git diff --exit-code + working-directory: ./app + - name: Run flutter tests run: | flutter test @@ -50,6 +56,10 @@ jobs: YUBIOATH_STORE_PASSWORD: ${{ secrets.YUBIOATH_STORE_PASSWORD }} working-directory: ./app + - name: Check generated files + run: git diff --exit-code + working-directory: ./app + - name: Run android tests run: | ./gradlew test