mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
checks code has been formatted with dart format on push and pull request adds a note in README for contributors
21 lines
387 B
YAML
21 lines
387 B
YAML
name: Dart Format
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
analyze:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Dart
|
|
uses: dart-lang/setup-dart@v1
|
|
|
|
- name: Install Pub Dependencies
|
|
run: dart pub get
|
|
|
|
- name: Verify Formatting
|
|
run: dart format --output=none --set-exit-if-changed .
|