We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 810a874 + e689e85 commit eaf5982Copy full SHA for eaf5982
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: CI
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - '**'
6
+ paths-ignore:
7
+ - '.github/**'
8
+ - '.vscode/**'
9
+ - 'README.md'
10
+ workflow_dispatch:
11
+
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Setup Flutter
18
+ uses: subosito/flutter-action@v2
19
+ with:
20
+ flutter-version: '2.10.4'
21
+ channel: 'stable'
22
23
+ - name: Checkout OneSignal-Flutter-SDK
24
+ uses: actions/checkout@v3
25
26
+ - name: Install Dependencies 🔗⛓📦
27
+ run: flutter pub get
28
29
+ - name: Static Analysis
30
+ run: flutter analyze
31
32
+ - name: Ensure the Dart code is formatted correctly
33
+ run: flutter format --set-exit-if-changed --dry-run .
34
35
+ - name: Run Flutter unit tests
36
+ run: flutter test
0 commit comments