Skip to content

Commit

Permalink
fix: correced path
Browse files Browse the repository at this point in the history
  • Loading branch information
mhochsto committed Sep 5, 2024
1 parent f308c66 commit d53fc6d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 29 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/flutter-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
runs-on: ${{ inputs.destination }}
steps:
- uses: actions/checkout@v4



- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/flutter-setup.yml
- uses: .github/workflows/flutter-setup.yml
with:
destination: ubuntu-latest
- name: Checkout code
uses: actions/checkout@v4

- name: Analyze sources
run: dart analyze
38 changes: 14 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,25 @@
name: Test
on:
push:
branches: ["main"]
pull_request:
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]
branches: ["main"]
jobs:
setup-web:
uses: ./.github/workflows/flutter-setup.yml
with:
destination: ubuntu-latest

setup-android:
uses: ./.github/workflows/flutter-setup.yml
with:
destination: ubuntu-latest

setup-macos:
uses: ./.github/workflows/flutter-setup.yml
with:
destination: macos-latest

test-web:
runs-on: ubuntu-latest
needs: setup-web
steps:
- name: run web tests
run: flutter test -r expanded
- uses: .github/workflows/flutter-setup.yml
with:
destination: ubuntu-latest
- name: run web tests
run: flutter test -r expanded

test-android:
runs-on: ubuntu-latest
needs: setup-android
steps:
- uses: .github/workflows/flutter-setup.yml
with:
destination: ubuntu-latest
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -51,8 +39,10 @@ jobs:

test-ios:
runs-on: macos-latest
needs: setup-macos
steps:
- uses: .github/workflows/flutter-setup.yml
with:
destination: macos-latest
- uses: actions/checkout@v3
- uses: SwiftyLab/setup-swift@latest
with:
Expand Down

0 comments on commit d53fc6d

Please sign in to comment.