Skip to content

Commit

Permalink
ci: Upgrade actions to remove deprecations (#1013)
Browse files Browse the repository at this point in the history
* ci: upgrade actions to remove deprecations

* ci: properly run workflows on config change
  • Loading branch information
Vinzent03 authored Aug 26, 2024
1 parent 8094e8f commit ec5d47e
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/functions_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
- main
paths:
- 'packages/functions_client/**'
- '.github/workflows/functions_client.yaml'
- '.github/workflows/functions_client.yml'
- 'packages/yet_another_json_isolate/**'

pull_request:
paths:
- 'packages/functions_client/**'
- '.github/workflows/functions_client.yaml'
- '.github/workflows/functions_client.yml'
- 'packages/yet_another_json_isolate/**'

jobs:
Expand All @@ -33,7 +33,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gotrue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- main
paths:
- 'packages/gotrue/**'
- '.github/workflows/gotrue.yaml'
- '.github/workflows/gotrue.yml'

pull_request:
paths:
- 'packages/gotrue/**'
- '.github/workflows/gotrue.yaml'
- '.github/workflows/gotrue.yml'

jobs:
test:
Expand All @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/postgrest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
- main
paths:
- 'packages/postgrest/**'
- '.github/workflows/postgrest.yaml'
- '.github/workflows/postgrest.yml'
- 'packages/yet_another_json_isolate/**'

pull_request:
paths:
- 'packages/postgrest/**'
- '.github/workflows/postgrest.yaml'
- '.github/workflows/postgrest.yml'
- 'packages/yet_another_json_isolate/**'

jobs:
Expand All @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/realtime_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- main
paths:
- 'packages/realtime_client/**'
- '.github/workflows/realtime_client.yaml'
- '.github/workflows/realtime_client.yml'

pull_request:
paths:
- 'packages/realtime_client/**'
- '.github/workflows/realtime_client.yaml'
- '.github/workflows/realtime_client.yml'

jobs:
test:
Expand All @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/storage_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
- main
paths:
- 'packages/storage_client/**'
- '.github/workflows/storage_client.yaml'
- '.github/workflows/storage_client.yml'
pull_request:
paths:
- 'packages/storage_client/**'
- '.github/workflows/storage_client.yaml'
- '.github/workflows/storage_client.yml'

jobs:
test:
Expand All @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
paths:
- 'packages/supabase/**'
- '.github/workflows/supabase.yaml'
- '.github/workflows/supabase.yml'
- 'packages/functions_client/**'
- 'packages/gotrue/**'
- 'packages/postgrest/**'
Expand All @@ -16,7 +16,7 @@ on:
pull_request:
paths:
- 'packages/supabase/**'
- '.github/workflows/supabase.yaml'
- '.github/workflows/supabase.yml'
- 'packages/functions_client/**'
- 'packages/gotrue/**'
- 'packages/postgrest/**'
Expand All @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/supabase_flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
paths:
- 'packages/supabase_flutter/**'
- '.github/workflows/supabase_flutter.yaml'
- '.github/workflows/supabase_flutter.yml'
- 'packages/functions_client/**'
- 'packages/gotrue/**'
- 'packages/postgrest/**'
Expand All @@ -18,7 +18,7 @@ on:
pull_request:
paths:
- 'packages/supabase_flutter/**'
- '.github/workflows/supabase_flutter.yaml'
- '.github/workflows/supabase_flutter.yml'
- 'packages/functions_client/**'
- 'packages/gotrue/**'
- 'packages/postgrest/**'
Expand All @@ -44,11 +44,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2

- uses: actions/setup-java@v1
with:
java-version: '12.x'
uses: actions/checkout@v4

- uses: subosito/flutter-action@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/yet_another_json_isolate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- main
paths:
- 'packages/yet_another_json_isolate/**'
- '.github/workflows/yet_another_json_isolate.yaml'
- '.github/workflows/yet_another_json_isolate.yml'

pull_request:
paths:
- 'packages/yet_another_json_isolate/**'
- '.github/workflows/yet_another_json_isolate.yaml'
- '.github/workflows/yet_another_json_isolate.yml'

jobs:
test:
Expand All @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checks-out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

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

0 comments on commit ec5d47e

Please sign in to comment.