Merge dev into main v1.1.0
pre-release
#121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |