Skip to content

Commit

Permalink
update java runner to v2
Browse files Browse the repository at this point in the history
remove tuneup and replace it with dart analyze
  • Loading branch information
charafau committed Aug 19, 2024
1 parent d7e6ba5 commit 10341dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
java-version: 21
- uses: subosito/flutter-action@v2
with:
channel: "stable"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,4 @@ jobs:
cd workmanager
flutter pub get
flutter pub publish -n
flutter pub global activate tuneup
flutter pub global run tuneup check
flutter pub dart analyze
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 17
- uses: subosito/flutter-action@v1
distribution: 'temurin'
java-version: 21
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Build Android App
Expand All @@ -55,7 +56,7 @@ jobs:
fail-fast: false
runs-on: macos-latest
steps:
- uses: futureware-tech/simulator-action@v1
- uses: futureware-tech/simulator-action@v2
with:
model: '${{ matrix.device }}'
- uses: actions/checkout@v4
Expand All @@ -78,9 +79,10 @@ jobs:
target: [default]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
java-version: 21
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
Expand Down

0 comments on commit 10341dd

Please sign in to comment.