Skip to content

Commit 3a70fbc

Browse files
committed
Run pub get in CI
1 parent 5903d8b commit 3a70fbc

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,34 @@ jobs:
1313
analyze:
1414
strategy:
1515
matrix:
16-
packages: [sqlite3]
16+
package: [sqlite3]
1717

1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v2
2121
- uses: DanTup/gh-actions/setup-dart@master
2222
with:
2323
channel: dev
24-
24+
25+
- name: Pub get
26+
run: dart pub get
27+
working-directory: ${{ matrix.package }}
28+
2529
- name: Format
2630
run: dart format --set-exit-if-changed .
27-
working-directory: sqlite3/
31+
working-directory: ${{ matrix.package }}
2832

2933
- name: Analyze
3034
run: dart analyze
31-
working-directory: sqlite3/
35+
working-directory: ${{ matrix.package }}
3236

3337
test:
3438
strategy:
3539
matrix:
3640
os: [ubuntu-latest, windows-latest, macOS-latest]
3741
dart: [dev]
3842

39-
runs-on: ${{ matrix.os }}
43+
runs-on: ${{ matrix.dart }}
4044

4145
# Steps represent a sequence of tasks that will be executed as part of the job
4246
steps:
@@ -54,5 +58,7 @@ jobs:
5458
run: choco install sqlite
5559

5660
- name: Test
57-
run: dart test
61+
run: |
62+
pub get
63+
dart test
5864
working-directory: sqlite3/

0 commit comments

Comments
 (0)