Skip to content

Commit 017875c

Browse files
committed
workflow added
1 parent cad8b89 commit 017875c

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
reviewers:
8+
- "rvndsngwn"
9+
- package-ecosystem: gradle
10+
directory: "/example/android"
11+
schedule:
12+
interval: "weekly"
13+
reviewers:
14+
- "rvndsngwn"

.github/funding.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [rvndsngwn]

.github/workflows/flutter.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: code analysis & formatting
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
types: [ opened, labeled, unlabeled, synchronize ]
9+
10+
jobs:
11+
analysis:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/[email protected]
15+
- uses: actions/[email protected]
16+
with:
17+
java-version: 11
18+
distribution: temurin
19+
- uses: subosito/[email protected]
20+
with:
21+
cache: true
22+
- name: Version
23+
run: flutter doctor -v
24+
- name: Install dependencies
25+
run: flutter pub get
26+
- name: Linter
27+
run: flutter analyze
28+
formatting:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/[email protected]
32+
- uses: actions/[email protected]
33+
with:
34+
java-version: 11
35+
distribution: temurin
36+
- uses: subosito/[email protected]
37+
with:
38+
cache: true
39+
- name: Format
40+
run: flutter format -n --set-exit-if-changed .

0 commit comments

Comments
 (0)