fix: update flutter.yml

This commit is contained in:
Jacques 2023-11-01 13:10:04 +01:00
parent 2f171bd0c7
commit aeb65430c3

View file

@ -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