feat: update CI

This commit is contained in:
Freek van de Ven 2023-08-17 11:22:54 +02:00
parent e9ddc95993
commit 6b58cdf6b8

View file

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