Skip to content

Commit b77af58

Browse files
authored
Merge branch 'master' into nimisis-patch-1
2 parents 79a5624 + 8b9b8f8 commit b77af58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1912
-1642
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: "bug"
6+
assignees: ""
7+
---
8+
9+
<!-- Feel free to remove/modify sections so they're a better fit for your request -->
10+
11+
**Describe the bug**
12+
13+
<!-- A clear and concise description of what the bug is. -->
14+
15+
**To Reproduce**
16+
17+
<!-- Attach a code sample or link to the repo which demonstrates the error -->
18+
19+
Steps to reproduce the behavior:
20+
21+
1. Go to '...'
22+
2. Click on '....'
23+
3. Scroll down to '....'
24+
4. See error
25+
26+
**Expected behavior**
27+
28+
<!-- A clear and concise description of what you expected to happen. -->
29+
30+
**Screenshots**
31+
32+
<!-- If applicable, attach screenshots and videos to help explain your problem. -->
33+
34+
**Desktop (please complete the following information):**
35+
36+
- OS: [e.g. iOS]
37+
- Browser [e.g. chrome, safari]
38+
- Version [e.g. 22]
39+
40+
**Device information:**
41+
42+
<!-- Please complete the following information -->
43+
44+
- Device: [e.g. iPhone 13]
45+
- OS: [e.g. iOS 15.4]
46+
- plugin version [e.g. v1.8.0]
47+
48+
**Additional context**
49+
50+
<!-- Add any other context about the problem here or delete this point. -->

.github/workflows/publish.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
tags: ["v*"]
6+
7+
jobs:
8+
publish:
9+
name: Publish to pub.dev
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
17+
- name: Setup Dart
18+
uses: dart-lang/setup-dart@v1
19+
with:
20+
sdk: 2.17.0
21+
22+
- name: Download pub.dev credentials
23+
env:
24+
CREDENTIALS: ${{ secrets.PUB_DEV_CREDENTIALS }}
25+
run: |
26+
mkdir -p ~/.pub-cache
27+
echo $CREDENTIALS > ~/.pub-cache/credentials.json
28+
29+
- name: Publish
30+
run: dart pub publish -f

.github/workflows/test.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
# don't run this workflow on version tags
7+
ignore-tags: ["v*"]
8+
pull_request:
9+
branches: [master]
10+
11+
jobs:
12+
test:
13+
name: Flutter ${{ matrix.channel }}${{ matrix.version }}
14+
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
include:
20+
- channel: stable
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v2
25+
26+
- name: Setup Flutter
27+
uses: subosito/flutter-action@v1
28+
with:
29+
channel: ${{ matrix.channel }}
30+
flutter-version: ${{ matrix.version }}
31+
32+
- name: Flutter version
33+
run: flutter --version
34+
35+
- name: Cache pub dependencies
36+
uses: actions/cache@v2
37+
with:
38+
path: ${{ env.FLUTTER_HOME }}/.pub-cache
39+
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
40+
restore-keys: ${{ runner.os }}-pub-
41+
42+
- name: Download pub dependencies
43+
run: flutter pub get
44+
45+
- name: Run analyzer
46+
run: flutter analyze
47+
48+
- name: Dry run pub publish
49+
# We don't want it to fail the CI, it's just to see how would `pub publish` behave.
50+
run: dart pub publish --dry-run || true

0 commit comments

Comments
 (0)