Skip to content

Commit

Permalink
chore: update dart workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
putra4648 committed Feb 12, 2024
1 parent 019bca7 commit 57b892f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Dart

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

jobs:
build:
Expand All @@ -24,6 +24,7 @@ jobs:
# - uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603

- run: cd ./package/food_repository
- name: Install dependencies
run: dart pub get

Expand All @@ -39,4 +40,4 @@ jobs:
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: cd package/food_repository && dart test
run: dart test

0 comments on commit 57b892f

Please sign in to comment.