Skip to content
This repository was archived by the owner on Oct 27, 2020. It is now read-only.

Commit cbfb588

Browse files
committed
add update_dependencies job
1 parent 23fac6f commit cbfb588

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Flutter_Test
2+
3+
on:
4+
push:
5+
branches:
6+
- cron_update_pacakges
7+
schedule:
8+
- cron: 0 15 * * *
9+
10+
jobs:
11+
flutter_widget_test:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
- uses: subosito/flutter-action@v1
19+
with:
20+
channel: 'beta'
21+
- name: Workaround for https://github.com/subosito/flutter-action/issues/39
22+
run: flutter channel beta && flutter upgrade
23+
- run: pub global activate pubspec_update # See: https://pub.dev/packages/pubspec_update
24+
- run: pubspec_update --force
25+
- name: install hub
26+
uses: geertvdc/[email protected]
27+
- name: create PR
28+
env:
29+
GITHUB_USER: ${{ secrets.GITHUB_USER }}
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
run: |
32+
hub pull-request -b master -m "[Scheduled] update dependencies"

0 commit comments

Comments
 (0)