mirror of
https://github.com/Iconica-Development/flutter_input_library.git
synced 2025-05-18 17:03:45 +02:00
fix: update flutter.yml
This commit is contained in:
parent
2f171bd0c7
commit
aeb65430c3
1 changed files with 9 additions and 29 deletions
38
.github/workflows/flutter.yml
vendored
38
.github/workflows/flutter.yml
vendored
|
@ -1,32 +1,12 @@
|
||||||
name: CI
|
name: Iconica Standard Component CI Workflow
|
||||||
|
# Workflow Caller version: 2.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:
|
||||||
with:
|
subfolder: '.' # add optional subfolder to run workflow in
|
||||||
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