Skip to content

Comprehensive Refactoring of Package Workflows and CI Processes Across Platforms #84

Comprehensive Refactoring of Package Workflows and CI Processes Across Platforms

Comprehensive Refactoring of Package Workflows and CI Processes Across Platforms #84

name: CI for platform interface package
on:
push:
branches: [ main ]
paths:
- 'flutter_custom_tabs_platform_interface/**'
- '.github/workflows/platform_interface_package.yml'
- '!**.md'
pull_request:
paths:
- 'flutter_custom_tabs_platform_interface/**'
- '.github/workflows/platform_interface_package.yml'
- '!**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Get flutter dependencies
run: flutter pub get
working-directory: ./flutter_custom_tabs_platform_interface
- name: Check for any formatting issues in the code
run: dart format --set-exit-if-changed .
working-directory: ./flutter_custom_tabs_platform_interface
- name: Statically analyze the Dart code for any errors
run: flutter analyze .
working-directory: ./flutter_custom_tabs_platform_interface
- name: Run unit tests
run: flutter test
working-directory: ./flutter_custom_tabs_platform_interface