Merge pull request #90 from CuongNV12/feature/offset #61
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/checkout@v3.5.2 | |
- uses: actions/setup-java@v3.11.0 | |
with: | |
java-version: 11 | |
distribution: temurin | |
- uses: subosito/flutter-action@v2.10.0 | |
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 . |