Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dungngminh committed Nov 5, 2024
1 parent 786008c commit 5a14314
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
- name: Get dependencies
run: dart pub get

- name: Format
run: dart format --set-exit-if-changed .

- name: Analyze
run: dart analyze

Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pull Request

on:
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1

- name: Get dependencies
run: dart pub get

- name: Analyze
run: dart analyze

- name: Test
run: dart test --coverage=coverage

0 comments on commit 5a14314

Please sign in to comment.