Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to FVM 3 #1357

Merged
merged 2 commits into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .fvm/fvm_config.json

This file was deleted.

6 changes: 6 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"flutter": "3.19.2",
"updateVscodeSettings": false,
"updateGitIgnore": false,
"runPubGetOnSdkChanges": false
}
8 changes: 4 additions & 4 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cli_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration_tests_app_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@main
with:
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/licence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/safe_app_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/safe_website_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unsafe_app_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unsafe_website_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@6ffa30473b346f7d7c63cf9e03e6a886f940a72b
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa

- uses: subosito/flutter-action@62f096cacda5168a3bd7b95793373be14fa4fbaf
with:
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ coverage/
!.vscode/launch.json
!.vscode/settings.json

# FVM will create a relative symlink in your project from .fvm/flutter_sdk to
# FVM will create a relative symlink in your project from .fvm/versions/ to
# the cache of the selected version. We should add this to our .gitignore.
#
# Source: https://fvm.app/docs/getting_started/configuration#project
.fvm/flutter_sdk
# Source: https://fvm.app/documentation/getting-started/configuration
.fvm/
22 changes: 7 additions & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{
// Set the path of the Flutter SDK to the path of the FVM Flutter version.
//
// VS Code will always use the version selected within the project for all
// IDE tooling.
//
// Source: https://fvm.app/docs/getting_started/configuration#option-1---automatic-switching-recommended
"dart.flutterSdkPath": ".fvm/flutter_sdk",
"search.exclude": {
// Remove .fvm files from search
"**/.fvm": true
},
"files.watcherExclude": {
// Remove .fvm files from file watching
"**/.fvm": true
}
"dart.flutterSdkPath": ".fvm/versions/3.19.2",
"search.exclude": {
"**/.fvm": true
},
"files.watcherExclude": {
"**/.fvm": true
}
}
Loading