Skip to content

Commit

Permalink
Add dart workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jun 23, 2024
1 parent 7838a86 commit 5ed454e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Dart

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
project:
- packages/dart_leap
- packages/flutter_localizer
- packages/localizer
- packages/lw_file_system
- packages/lw_sysapi
- packages/material_leap
- packages/networker/networker
- packages/networker/networker_rtc
- packages/networker/networker_socket
- packages/networker/networker_s5
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze --fatal-infos
- name: Run tests
run: flutter test

0 comments on commit 5ed454e

Please sign in to comment.