Skip to content

Config: udpate github.workflow script #8

Config: udpate github.workflow script

Config: udpate github.workflow script #8

on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Running Flutter analysis on package code
run: flutter analyze --no-fatal-infos --no-fatal-warnings --write=analysis_report.txt
- name: Artifact analysis report
uses: actions/upload-artifact@v4
if: always()
with:
name: analysis-report
path: |
analysis_report.txt
retention-days: 15
- name: Runing widget testing
run: dart pub publish --dry-run
- name: Check Publish Warnings
run: dart pub publish --dry-run