Skip to content

Commit

Permalink
fix(#118) : add more jobs to run
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyHers committed Jun 14, 2023
1 parent e2f5a57 commit fdcdac9
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 2 deletions.
47 changes: 46 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,28 @@ on:
- dev

jobs:
test:

generate:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: 3.7.12

- name: Install Dependencies
run: flutter pub get

- name: Generate
run: flutter pub run build_runner build --delete-conflicting-outputs

test:
needs: generate
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -43,4 +62,30 @@ jobs:
- name: Analyze
run: flutter analyze

- name: Check format lib
run: dart format --set-exit-if-changed .


format:
needs: test
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: 3.7.12

- name: Generate
run: flutter pub run build_runner build --delete-conflicting-outputs








40 changes: 39 additions & 1 deletion .github/workflows/deploy-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,28 @@ on:
- master

jobs:
test:

generate:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: 3.7.12

- name: Install Dependencies
run: flutter pub get

- name: Generate
run: flutter pub run build_runner build --delete-conflicting-outputs

test:
needs: generate
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -43,3 +62,22 @@ jobs:
- name: Analyze
run: flutter analyze

- name: Check format lib
run: dart format --set-exit-if-changed .


format:
needs: test
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: 3.7.12

- name: Generate
run: flutter pub run build_runner build --delete-conflicting-outputs

0 comments on commit fdcdac9

Please sign in to comment.