Implement deduplication for health data records for workout #31
This file contains hidden or 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
| # # This workflow uses actions that are not certified by GitHub. | |
| # # They are provided by a third-party and are governed by | |
| # # separate terms of service, privacy policy, and support | |
| # # documentation. | |
| # name: Format Check | |
| # on: | |
| # pull_request: | |
| # branches: [main] | |
| # push: | |
| # branches: [main] | |
| # jobs: | |
| # format-dart-kotlin: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - name: Setup Flutter | |
| # uses: subosito/flutter-action@v2 | |
| # with: | |
| # channel: 'stable' | |
| # # flutter-version: '3.16.8' | |
| # # Cache Dart dependencies to speed up workflow runs | |
| # - name: Cache Dart dependencies | |
| # uses: actions/cache@v4.3.0 | |
| # with: | |
| # # Cache the .dart_tool and pub cache directories | |
| # path: | | |
| # ~/.pub-cache | |
| # .dart_tool | |
| # # Use pubspec.lock as the cache key to invalidate when dependencies change | |
| # key: ${{ runner.os }}-dart-${{ hashFiles('**/pubspec.lock') }} | |
| # # Fallback to the most recent cache if exact match not found | |
| # restore-keys: | | |
| # ${{ runner.os }}-dart- | |
| # - name: Install dependencies | |
| # run: flutter pub get | |
| # - name: Format Dart | |
| # run: | | |
| # dart format lib test example | |
| # git diff --exit-code | |
| # - name: Setup Java | |
| # uses: actions/setup-java@v4 | |
| # with: | |
| # distribution: 'temurin' | |
| # java-version: '17' | |
| # - name: Format Kotlin | |
| # run: | | |
| # curl -sSLo ktlint https://github.com/pinterest/ktlint/releases/latest/download/ktlint | |
| # chmod +x ktlint | |
| # ./ktlint -F android/src/main/kotlin | |
| # git diff --exit-code | |
| # # Consider passing '--fatal-infos' for slightly stricter analysis. | |
| # - name: Analyze project source | |
| # run: flutter analyze | |
| # # Your project will need to have tests in test/ and a dependency on | |
| # # package:test for this step to succeed. Note that Flutter projects will | |
| # # want to change this to 'flutter test'. | |
| # - name: Run tests | |
| # run: flutter test | |
| # format-swift: | |
| # runs-on: macos-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - name: Install SwiftFormat | |
| # run: brew install swiftformat | |
| # - name: Format Swift | |
| # run: | | |
| # swiftformat ios/Classes | |
| # git diff --exit-code |