mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 06:25:15 +00:00
CI: Add java version
This commit is contained in:
parent
f9273f43e1
commit
1308400bb6
1 changed files with 5 additions and 4 deletions
9
.github/workflows/analyze.yaml
vendored
9
.github/workflows/analyze.yaml
vendored
|
@ -4,16 +4,17 @@ on: [push, pull_request]
|
|||
|
||||
env:
|
||||
FLUTTER_VERSION: '3.10.6'
|
||||
JAVA_VERSION: '11.0'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
- uses: subosito/flutter-action@v1
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||
- run: flutter pub get
|
||||
|
@ -25,4 +26,4 @@ jobs:
|
|||
- name: Apply google services patch
|
||||
run: git apply ./scripts/enable-android-google-services.patch
|
||||
- run: flutter analyze
|
||||
|
||||
- run: flutter test
|
||||
|
|
Loading…
Reference in a new issue