Skip to content

Commit dec73da

Browse files
committed
Prepare release 0.1.1
1 parent fab4183 commit dec73da

8 files changed

Lines changed: 212 additions & 299 deletions

File tree

.github/workflows/publish.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Publish to pub.dev
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
8+
jobs:
9+
publish:
10+
permissions:
11+
id-token: write
12+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

.github/workflows/tests.yml

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,37 @@ name: Tests
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [ main, develop ]
7+
branches: [main, develop]
88

99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
15-
16-
- name: Set up Flutter
17-
uses: subosito/flutter-action@v2
18-
with:
19-
flutter-version: '3.24.0'
20-
21-
- name: Get dependencies
22-
run: flutter pub get
23-
24-
- name: Analyze
25-
run: flutter analyze
26-
27-
- name: Run tests
28-
run: flutter test
29-
30-
- name: Check formatting
31-
run: dart format --set-exit-if-changed .
32-
33-
- name: Check pub publish
34-
run: flutter pub publish --dry-run
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up Flutter
17+
uses: subosito/flutter-action@v2
18+
with:
19+
channel: stable
20+
cache: true
21+
22+
- name: Disable Flutter analytics
23+
run: flutter config --no-analytics
24+
25+
- name: Get dependencies
26+
run: flutter pub get
27+
28+
- name: Check formatting
29+
run: dart format --set-exit-if-changed .
30+
31+
- name: Analyze
32+
run: flutter analyze
33+
34+
- name: Run tests
35+
run: flutter test
36+
37+
- name: Check pub publish
38+
run: dart pub publish --dry-run

0 commit comments

Comments
 (0)