From 9c4532ae88a13b50c9236f62f5ad7754ec3c8c5b Mon Sep 17 00:00:00 2001 From: EduardGomezEscandell Date: Tue, 3 Oct 2023 12:34:04 +0200 Subject: [PATCH] Simplify quality-flutter matrix --- .github/workflows/qa.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index a6c20b2ee..e61645c86 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -88,7 +88,7 @@ jobs: fail-fast: false matrix: os: [ubuntu, windows] - package: ["gui/packages/p4w_ms_store", "gui/packages/ubuntupro"] + package: ["p4w_ms_store", "ubuntupro"] runs-on: ${{ matrix.os }}-latest steps: - name: Set up git @@ -105,7 +105,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Go # We need to set up Go so that the agent can be built for the end-to-end tests - if: matrix.package == 'gui/packages/ubuntupro' + if: matrix.package == 'ubuntupro' uses: actions/setup-go@v4 with: go-version-file: windows-agent/go.mod @@ -113,12 +113,12 @@ jobs: uses: ./.github/actions/flutter-qa/ with: flutter-version: ${{ env.flutter-version }} - package-dir: '${{ matrix.package }}' - run-build-runner: ${{ contains(matrix.package, 'ubuntupro') }} + package-dir: gui/packages/${{ matrix.package }} + run-build-runner: ${{ matrix.package == 'ubuntupro' }} - name: Ensure module files are up to date uses: EduardGomezEscandell/desktop-engineering/gh-actions/common/has-diff@dont-use-sudo with: - working-directory: ${{ matrix.package }} + working-directory: gui/packages/${{ matrix.package }} paths-to-ignore: 'pubspec.lock' fail-on-diff: true