build(deps): bump actions/setup-java from 3 to 4 #726
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Widget tests & code analysis | |
on: [push, pull_request] | |
# https://admcpr.com/continuous-integration-for-flutter-with-github-actions/ | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
# Use the community Action to install Flutter | |
- uses: subosito/flutter-action@v2 | |
- name: Version | |
run: flutter doctor -v | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Format | |
run: dart format --set-exit-if-changed . | |
- name: Linter | |
run: dart analyze | |
- name: Test | |
run: flutter test |