diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 66b4ef08..614d0681 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -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" diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 04ca605b..f52d6e3f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -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 \ No newline at end of file + flutter pub dart analyze \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9063cdd6..87c2dee6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 @@ -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'