Skip to content

Commit

Permalink
fix(Build Workflow): Update workflow files with general reference (#33)
Browse files Browse the repository at this point in the history
* Remove no needed clean instruction

* Update workflows group reference

* Check run test action

* Fix test after verification in workflow
  • Loading branch information
cdmunoz authored Nov 2, 2021
1 parent 017b9c4 commit 7c0ec95
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# src: https://gist.github.com/rodydavis/bde9a9a8c2fcdcf3474c0f50248f2e3a

name: Flutter Build

on:
push:
branches:
Expand All @@ -11,7 +12,7 @@ on:

# Cancel jobs and just run the last one
concurrency:
group: ${{ github.head_ref }}
group: ${{ github.ref }}
cancel-in-progress: true

defaults:
Expand All @@ -31,7 +32,6 @@ jobs:
with:
channel: 'dev'
- run: flutter pub get
- run: flutter clean
- run: flutter build ios --release --no-codesign

build_android:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ name: Test

on:
push:
branches: [ master ]
branches:
- master
pull_request:
branches: [ master ]
branches:
- master

# Cancel jobs and just run the last one
concurrency:
group: ${{ github.head_ref }}
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.6.1"
version: "2.8.1"
boolean_selector:
dependency: transitive
description:
Expand All @@ -28,7 +28,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.1"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -94,7 +94,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.7.0"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -148,7 +148,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0"
version: "0.4.2"
typed_data:
dependency: transitive
description:
Expand All @@ -164,5 +164,5 @@ packages:
source: hosted
version: "2.1.0"
sdks:
dart: "2.13.3"
dart: ">=2.13.3 <3.0.0"
flutter: ">=2.2.2"
10 changes: 5 additions & 5 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.6.1"
version: "2.8.1"
boolean_selector:
dependency: transitive
description:
Expand All @@ -28,7 +28,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.1"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -80,7 +80,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.7.0"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -134,7 +134,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0"
version: "0.4.2"
typed_data:
dependency: transitive
description:
Expand All @@ -150,5 +150,5 @@ packages:
source: hosted
version: "2.1.0"
sdks:
dart: "2.13.3"
dart: ">=2.13.3 <3.0.0"
flutter: ">=2.2.2"

0 comments on commit 7c0ec95

Please sign in to comment.