fix: prevent data loss on update by adding default values to DB schema #19
Workflow file for this run
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
| name: static-analysis | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/static-analysis.yml' | |
| - 'scripts/ci-local.sh' | |
| - '**/*.kt' | |
| - '**/*.kts' | |
| - '.editorconfig' | |
| - 'build.gradle.kts' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/static-analysis.yml' | |
| - 'scripts/ci-local.sh' | |
| - '**/*.kt' | |
| - '**/*.kts' | |
| - '.editorconfig' | |
| - 'build.gradle.kts' | |
| # Cancels in-progress runs if a new commit is pushed to the same PR or branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ktlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Project | |
| uses: ./.github/actions/gradle | |
| - name: Run Static Analysis | |
| uses: ./.github/actions/ktlint |