mirror of
https://github.com/Iconica-Development/flutter_date_time_picker.git
synced 2025-05-18 18:33:49 +02:00
feat: update CI
This commit is contained in:
parent
e9ddc95993
commit
6b58cdf6b8
1 changed files with 7 additions and 27 deletions
34
.github/workflows/flutter.yml
vendored
34
.github/workflows/flutter.yml
vendored
|
@ -1,32 +1,12 @@
|
||||||
name: CI
|
name: Iconica Standard Component CI Workflow
|
||||||
|
# Workflow Caller version: 1.0.0
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
workflow_dispatch:
|
||||||
- master
|
|
||||||
- feature/*
|
|
||||||
- bugfix/*
|
|
||||||
- hotfix/*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
call-global-iconica-workflow:
|
||||||
runs-on: ubuntu-latest
|
uses: Iconica-Development/.github/.github/workflows/component-ci.yml@master
|
||||||
steps:
|
secrets: inherit
|
||||||
- uses: actions/checkout@v3
|
permissions: write-all
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.gradle/wrapper
|
|
||||||
/opt/hostedtoolcache/flutter
|
|
||||||
key: ${{ runner.OS }}-flutter-install-cache
|
|
||||||
- uses: subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
channel: 'stable'
|
|
||||||
- name: Flutter pub get
|
|
||||||
run: flutter pub get
|
|
||||||
- name: Dart format
|
|
||||||
run: dart format -o none --set-exit-if-changed .
|
|
||||||
- name: Flutter analyze
|
|
||||||
run: flutter analyze
|
|
Loading…
Reference in a new issue