Skip to content

Commit

Permalink
Create dart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
julemand101 authored Nov 28, 2024
1 parent 1e30c59 commit ed1d81c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Dart CI

on: [push]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
token: ${{ secrets.PAT_TOKEN }}

- 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 --fatal-warnings

- name: Run tests
run: dart test

0 comments on commit ed1d81c

Please sign in to comment.