Skip to content

Commit 8bde4c3

Browse files
committed
Create 'build' build flow for build status
1 parent 16034b5 commit 8bde4c3

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/build.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: subosito/flutter-action@v2
14+
with:
15+
channel: 'stable'
16+
17+
- name: Install dependencies
18+
run: |
19+
flutter pub get
20+
flutter pub run build_runner build
21+
22+
- name: Run tests
23+
run: flutter test
24+

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# flutter-force-permission
22

3-
[![codecov](https://codecov.io/gh/gogovan/flutter-force-permission/branch/main/graph/badge.svg?token=F9DPJUAVAJ)](https://codecov.io/gh/gogovan/flutter-force-permission)
3+
![Build](https://github.com/github/gogovan/flutter-force-permission/workflows/build.yaml/badge.svg)
4+
![codecov](https://codecov.io/gh/gogovan/flutter-force-permission/branch/main/graph/badge.svg?token=F9DPJUAVAJ)](https://codecov.io/gh/gogovan/flutter-force-permission)
45

56
Show permission disclosure page and allows required permissions and their associated services before
67
the user can proceed.

0 commit comments

Comments
 (0)