Skip to content

Commit dda9166

Browse files
Update publish.yml
1 parent 69d1d20 commit dda9166

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@ on:
44
- master
55
jobs:
66
build:
7-
runs-on: macos-latest
7+
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- name: Tap Google's Dart SDK
11-
run: brew tap dart-lang/dart
12-
- name: Install Dart SDK
13-
run: brew install dart
10+
- name: Install Flutter
11+
uses: subosito/flutter-action@v2
12+
with:
13+
flutter-version: '3.3.3'
1414
- name: Install dependencies
15-
run: dart pub get
15+
run: flutter pub get
16+
- name: Analyze
17+
run: flutter analyze
1618
- name: Run tests
17-
run: dart pub run test
19+
run: flutter test
1820
- name: Format code
1921
run: dart format --fix .
2022
- name: Check Publish Warnings

0 commit comments

Comments
 (0)