mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
reduce jobs for flutter and dart
no need to setup the env twice the exact same way as they don't conflict
This commit is contained in:
parent
b786c90514
commit
2525b9425b
1 changed files with 1 additions and 14 deletions
15
.github/workflows/flutter_dart.yml
vendored
15
.github/workflows/flutter_dart.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
analyze_and_format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -23,19 +23,6 @@ jobs:
|
|||
|
||||
- name: Analyze code
|
||||
run: flutter analyze --fatal-infos --fatal-warnings
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Verify formatting
|
||||
run: dart format --output=none --set-exit-if-changed .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue