Skip to content

feat!: Support transient identities and traits #15

feat!: Support transient identities and traits

feat!: Support transient identities and traits #15

Workflow file for this run

name: Analyze and Test
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
env:
FLUTTER_VERSION: '3.x'
jobs:
analyze:
runs-on: ubuntu-latest
name: Dart Analyze
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
- run: flutter pub get
- run: flutter analyze
tests:
runs-on: ubuntu-latest
name: Flutter Test
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
- run: flutter pub get
- run: flutter test
# TODO https://github.com/Flagsmith/flagsmith-flutter-client/issues/57
publishing:
runs-on: ubuntu-latest
name: Dart Publish Package Test
needs: tests
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
- run: flutter pub publish --dry-run