Skip to content

Merge pull request #93 from JordyHers-org/dev #134

Merge pull request #93 from JordyHers-org/dev

Merge pull request #93 from JordyHers-org/dev #134

Workflow file for this run

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@v2
with:
flutter-version: '3.13.1'
- name: Install dependencies
run: flutter pub get
- name: Run tests
run: flutter test
- name: Analyze Linting
run: flutter analyze