-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: use same flutter version for all workflows
- Loading branch information
1 parent
2cd635d
commit 4efda9a
Showing
7 changed files
with
71 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FLUTTER_VERSION=3.27.1 | ||
STARKNET_RPC=http://localhost:5050 | ||
DEVNET_DUMP_PATH=/devnet-dump.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,15 @@ jobs: | |
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: flutter-actions/setup-flutter@v3 | ||
with: | ||
channel: stable | ||
version: 3.24.3 | ||
version: ${{ steps.load-env.outputs.flutter_version }} | ||
cache: true | ||
cache-sdk: true | ||
- uses: bluefireteam/melos-action@v3 | ||
|
@@ -26,11 +30,15 @@ jobs: | |
test-unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: flutter-actions/setup-flutter@v3 | ||
with: | ||
channel: stable | ||
version: 3.24.3 | ||
version: ${{ steps.load-env.outputs.flutter_version }} | ||
cache: true | ||
cache-sdk: true | ||
- uses: bluefireteam/melos-action@v3 | ||
|
@@ -40,11 +48,15 @@ jobs: | |
test-integration: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: flutter-actions/setup-flutter@v3 | ||
with: | ||
channel: stable | ||
version: 3.24.3 | ||
version: ${{ steps.load-env.outputs.flutter_version }} | ||
cache: true | ||
cache-sdk: true | ||
- uses: bluefireteam/melos-action@v3 | ||
|
@@ -73,8 +85,12 @@ jobs: | |
check-contracts-changes: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- name: Check for changes | ||
uses: dorny/paths-filter@v3 | ||
id: changes | ||
|
@@ -84,8 +100,7 @@ jobs: | |
- 'contracts/v2.6.2/**' | ||
- uses: flutter-actions/setup-flutter@v3 | ||
with: | ||
channel: stable | ||
version: 3.24.3 | ||
version: ${{ steps.load-env.outputs.flutter_version }} | ||
cache: true | ||
cache-sdk: true | ||
- uses: bluefireteam/melos-action@v3 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
flutter-version: ${{ steps.load-env.outputs.flutter_version }} | ||
cache: true | ||
- uses: bluefireteam/melos-action@v3 | ||
- name: "Run Analyze" | ||
|
@@ -33,9 +38,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
flutter-version: ${{ steps.load-env.outputs.flutter_version }} | ||
cache: true | ||
- uses: bluefireteam/melos-action@v3 | ||
- name: "Pub Check" | ||
|
@@ -47,9 +57,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
flutter-version: ${{ steps.load-env.outputs.flutter_version }} | ||
cache: true | ||
- uses: bluefireteam/melos-action@v3 | ||
- name: "flutter pub get" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,14 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: ${{ steps.load-env.outputs.flutter_version }} | ||
- uses: bluefireteam/melos-action@v3 | ||
with: | ||
run-versioning: ${{ inputs.prerelease == false }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,14 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: ${{ steps.load-env.outputs.flutter_version }} | ||
- uses: bluefireteam/melos-action@v3 | ||
with: | ||
publish: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,14 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: ${{ steps.load-env.outputs.flutter_version }} | ||
- uses: bluefireteam/melos-action@v3 | ||
with: | ||
tag: true | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ coverage/ | |
|
||
.env | ||
.env.* | ||
!.env.ci | ||
!.env.example | ||
!.env.mainnet.example | ||
!.env.devnet.example | ||
|