From 9c3fc4cd7ae53e5600f5bf3ea5d6e8e2deb53d6d Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Tue, 16 Jan 2024 16:25:18 +0100 Subject: [PATCH] Fix paths in workflow --- .github/workflows/ffi.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ffi.yaml b/.github/workflows/ffi.yaml index 9020f5975..4ecb0fff5 100644 --- a/.github/workflows/ffi.yaml +++ b/.github/workflows/ffi.yaml @@ -3,9 +3,15 @@ name: Dart CI on: # Run on PRs and pushes to the default branch. push: - branches: [ main ] + branches: [main] + paths: + - '.github/workflows/ffi.yaml' + - 'pkgs/ffi/**' pull_request: - branches: [ main ] + branches: [main] + paths: + - '.github/workflows/ffi.yaml' + - 'pkgs/ffi/**' schedule: - cron: "0 0 * * 0" @@ -17,6 +23,9 @@ jobs: # against Dart dev. analyze: runs-on: ubuntu-latest + defaults: + run: + working-directory: pkgs/ffi/ strategy: fail-fast: false matrix: @@ -42,6 +51,9 @@ jobs: test: needs: analyze runs-on: ${{ matrix.os }} + defaults: + run: + working-directory: pkgs/ffi/ strategy: fail-fast: false matrix: