-
-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (27 loc) · 955 Bytes
/
deploy_dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Deploy Dev
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check Logos PNG files
run: |
shopt -s nullglob
for file in $(find assets \( -path "assets/nba/*" -o -path "assets/fashion/*" -o -path "assets/daily/*" -o -path "assets/football/*" -o -path "assets/media/*" -o -path "assets/tech/*" -o -path "assets/nfl/*" -o -path "assets/cricket/*" -o -path "assets/badges/*" -o -path "assets/crypto/*" -o -path "assets/auto/*"\) -type f ! -name "*.png"); do
echo "ERROR: File '$file' is not a PNG file"
done
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '3.7.5'
- name: Install dependencies
run: flutter pub get
- name: Run tests
run: flutter test
- name: Analyze Linting
run: flutter analyze