Skip to content

Added github actions to publish on release #4

Added github actions to publish on release

Added github actions to publish on release #4

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
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.27.0'
channel: 'stable'
- name: Install dependencies
run: flutter pub get
- name: Analyze code
run: flutter analyze
# - name: Run tests
# run: flutter test
- name: Check formatting
run: dart format --set-exit-if-changed .
- name: Check publish readiness
run: flutter pub publish --dry-run