Skip to content

chore: refactor structure (#354) #30

chore: refactor structure (#354)

chore: refactor structure (#354) #30

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Flutter Build Test Analyze
defaults:
run:
working-directory: das_client
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
paths:
- 'das_client/**'
pull_request:
paths:
- 'das_client/**'
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.3'
- name: Prepare Flutter Build
run: |
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter analyze
- run: flutter pub run custom_lint
- run: flutter test