Skip to content

Init flutter_core packages #3

Init flutter_core packages

Init flutter_core packages #3

name: netglade_flutter_utils test
on:
push:
branches:
- main
tags-ignore:
- 'netglade_flutter_utils-v*'
paths:
- 'packages/netglade_flutter_utils/**'
pull_request:
branches:
- main
paths:
- 'packages/netglade_flutter_utils/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
defaults:
run:
working-directory: packages/netglade_flutter_utils
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
- name: Install Dependencies
run: flutter pub get
- name: Format
run: dart format --line-length 120 --set-exit-if-changed .
- name: Analyze
run: dart analyze .
- name: Install DCM
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run DCM
uses: CQLabs/dcm-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
ci_key: ${{ secrets.DCM_KEY }}
email: ${{ secrets.DCM_EMAIL }}
folders: .
fatal_style: true
fatal_performance: true
fatal_warnings: true
- name: Dry Publish
run: flutter pub publish --dry-run || true