Merge pull request #222 from powersync-ja/psc-038 #866
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: Demos checks | |
concurrency: | |
group: demos-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.x" | |
channel: "stable" | |
- name: Install Melos | |
run: flutter pub global activate melos | |
- name: Install dependencies | |
run: melos prepare | |
- name: Check formatting | |
run: melos format:check:demos | |
- name: Lint | |
run: | | |
./.github/workflows/scripts/copy-config.sh | |
melos analyze:demos |