Skip to content

Commit 393c076

Browse files
committed
update github workflow files
1 parent f09bb07 commit 393c076

File tree

3 files changed

+18
-40
lines changed

3 files changed

+18
-40
lines changed

pkgs/native_synchronization/.github/workflows/dart.yaml renamed to .github/workflows/native_synchronization.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
1-
name: Dart
1+
name: package:native_synchronization
2+
permissions: read-all
23

34
on:
4-
schedule:
5-
# “At 00:00 (UTC) on Sunday.”
6-
- cron: '0 0 * * 0'
7-
push:
8-
branches: [ main ]
95
pull_request:
106
branches: [ main ]
11-
12-
# Declare default permissions as read only.
13-
permissions: read-all
7+
paths:
8+
- '.github/workflows/native_synchronization.yml'
9+
- 'pkgs/native_synchronization/**'
10+
push:
11+
branches: [ main ]
12+
paths:
13+
- '.github/workflows/native_synchronization.yml'
14+
- 'pkgs/native_synchronization/**'
15+
schedule:
16+
- cron: '0 0 * * 0' # weekly
1417

1518
jobs:
1619
analyze:
1720
runs-on: ${{ matrix.os }}
21+
defaults:
22+
run:
23+
working-directory: pkgs/native_synchronization
1824
strategy:
1925
matrix:
2026
os: [ubuntu-latest]
@@ -40,6 +46,9 @@ jobs:
4046
test:
4147
needs: analyze
4248
runs-on: ${{ matrix.os }}
49+
defaults:
50+
run:
51+
working-directory: pkgs/native_synchronization
4352
strategy:
4453
matrix:
4554
os: [ubuntu-latest, macos-latest, windows-latest]

pkgs/native_synchronization/.github/dependabot.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

pkgs/native_synchronization/.github/workflows/publish.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)