From faffbec8d370347d5b02e68a415802828abd4c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hochst=C3=B6ger=20Matthias?= <116495532+mhochsto@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:13:42 +0200 Subject: [PATCH] fix: added actions to test workflows --- .github/workflows/lint.yml | 2 -- .github/workflows/test.yml | 18 ++++++++---------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7386033..c0fd3f3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,9 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Setup Flutter uses: ./.github/actions/flutter-setup - - name: Analyze sources run: flutter analyze --no-fatal-infos --no-pub diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9097316..1c29ce2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,19 +8,18 @@ jobs: test-web: runs-on: ubuntu-latest steps: - - uses: ./.github/workflows/flutter-setup.yml - with: - destination: ubuntu-latest + - uses: actions/checkout@v4 + - name: Setup Flutter + uses: ./.github/actions/flutter-setup - name: run web tests run: flutter test -r expanded test-android: runs-on: ubuntu-latest steps: - - uses: ./.github/workflows/flutter-setup.yml - with: - destination: ubuntu-latest - uses: actions/checkout@v4 + - name: Setup Flutter + uses: ./.github/actions/flutter-setup - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -40,10 +39,9 @@ jobs: test-ios: runs-on: macos-latest steps: - - uses: ./.github/workflows/flutter-setup.yml - with: - destination: macos-latest - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Setup Flutter + uses: ./.github/actions/flutter-setup - uses: SwiftyLab/setup-swift@latest with: swift-version: '5.10.0'