Skip to content

Commit 485c372

Browse files
add .github/ folder (#45)
Co-authored-by: martha-johnston <[email protected]>
1 parent ded8ca7 commit 485c372

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.github/workflows/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* @clintpurser
2+
* @viamrobotics/mobile

.github/workflows/dependabot.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "pub"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"

.github/workflows/test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: [ubuntu-large]
12+
container:
13+
image: ghcr.io/cirruslabs/flutter:latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- run: flutter --version
19+
- run: flutter pub get
20+
21+
# Verify formatting in all dart files
22+
- name: Verify formatting
23+
run: dart format --line-length=140 --set-exit-if-changed $(find ./lib -name "*.dart" -not -path "./lib/proto/*")
24+
25+
- name: Analyze project source
26+
run: dart analyze
27+
28+
# TODO: add tests
29+
# - name: Run tests
30+
# run: flutter test

0 commit comments

Comments
 (0)