Skip to content

ci: add GitHub Actions workflow for PR checks (#46) #1

ci: add GitHub Actions workflow for PR checks (#46)

ci: add GitHub Actions workflow for PR checks (#46) #1

Workflow file for this run

name: PR Check
on:
pull_request:
branches:
- main
-dev
push:
branches:
- dev
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.0'
channel: 'stable'
- name: Clean runner
run: flutter clean
- name: Install dependencies
run: flutter pub get
- name: Analyze code
run: flutter analyze
- name: Run tests
run: flutter test