Skip to content

Commit 9c3fc4c

Browse files
committed
Fix paths in workflow
1 parent 7f8cadd commit 9c3fc4c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/ffi.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ name: Dart CI
33
on:
44
# Run on PRs and pushes to the default branch.
55
push:
6-
branches: [ main ]
6+
branches: [main]
7+
paths:
8+
- '.github/workflows/ffi.yaml'
9+
- 'pkgs/ffi/**'
710
pull_request:
8-
branches: [ main ]
11+
branches: [main]
12+
paths:
13+
- '.github/workflows/ffi.yaml'
14+
- 'pkgs/ffi/**'
915
schedule:
1016
- cron: "0 0 * * 0"
1117

@@ -17,6 +23,9 @@ jobs:
1723
# against Dart dev.
1824
analyze:
1925
runs-on: ubuntu-latest
26+
defaults:
27+
run:
28+
working-directory: pkgs/ffi/
2029
strategy:
2130
fail-fast: false
2231
matrix:
@@ -42,6 +51,9 @@ jobs:
4251
test:
4352
needs: analyze
4453
runs-on: ${{ matrix.os }}
54+
defaults:
55+
run:
56+
working-directory: pkgs/ffi/
4557
strategy:
4658
fail-fast: false
4759
matrix:

0 commit comments

Comments
 (0)