Skip to content

Commit

Permalink
Update and rename dart.yml to test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mo7amedaliEbaid committed Nov 13, 2023
1 parent 2c0aa58 commit 74a4658
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/dart.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test and Lint

on:
push:

jobs:
test:
name: Run test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.10'
channel: 'stable'
- name: Run pub get
run: flutter pub get
- name: Run test
run: flutter test

lint:
name: Run lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.10'
channel: 'stable'
- name: Run pub get
run: flutter pub get
- name: Run analyze
run: flutter analyze

0 comments on commit 74a4658

Please sign in to comment.