Update README.md #62
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: Static code analysis | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
lint: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
java-version: 11 | |
distribution: temurin | |
- uses: subosito/[email protected] | |
with: | |
flutter-version: '3.7' | |
cache: true | |
- name: Install dependencies for super_tooltip | |
run: flutter pub get | |
# Check for any formatting issues in the code. | |
- run: flutter format --set-exit-if-changed . | |
# Statically analyze the Dart code for any errors. | |
- run: flutter analyze . |