Skip to content

Commit 90301bb

Browse files
authored
build: replase to asdf (#122)
1 parent 77af9b0 commit 90301bb

File tree

5 files changed

+16
-35
lines changed

5 files changed

+16
-35
lines changed

.fvm/fvm_config.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/dart-ci.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,17 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: subosito/flutter-action@v1
1919
with:
20-
channel: 'stable'
20+
flutter-version: '2.5.0'
21+
- uses: dart-lang/setup-dart@v1
22+
with:
23+
sdk: '2.14.1'
2124

2225
- name: Set environment
2326
run: echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
2427

25-
- name: Install melos
26-
run: |
27-
flutter pub global activate melos
28-
29-
- name: Get Dart and Flutter dependencies
28+
- name: Get dependencies
3029
run: |
3130
make dependencies
32-
melos bootstrap
3331
3432
- name: Run tests for our dart project.
3533
run: |

.github/workflows/release.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ jobs:
2222
target: x86_64-unknown-linux-gnu
2323

2424
steps:
25-
- name: Checking out sources
26-
uses: actions/checkout@v2
27-
28-
- name: Installing needed macOS dependencies
29-
if: matrix.os == 'macos-latest'
30-
run: make setup-macos
31-
32-
- name: Installing needed Ubuntu dependencies
33-
if: matrix.os == 'ubuntu-latest'
34-
run: make setup-ubuntu
25+
- uses: actions/checkout@v2
26+
- uses: subosito/flutter-action@v1
27+
with:
28+
flutter-version: '2.5.0'
29+
- uses: dart-lang/setup-dart@v1
30+
with:
31+
sdk: '2.14.1'
3532

3633
- name: Running build for macos
3734
if: matrix.os == 'macos-latest'

.tool-versions

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dart 2.14.1
2+
flutter 2.5.0-stable
3+
nodejs 16.9.0
4+

Makefile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
setup:
2-
flutter channel stable
3-
flutter upgrade
42
npm install
53

64
dependencies:
@@ -37,15 +35,3 @@ unit-test:
3735
coverage:
3836
./scripts/coverage.sh packages/core
3937
./scripts/codecov.sh ${CODECOV_TOKEN}
40-
41-
setup-ubuntu:
42-
sudo apt-get update
43-
sudo apt-get install apt-transport-https
44-
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
45-
sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
46-
sudo apt-get update
47-
sudo apt-get install dart
48-
49-
setup-macos:
50-
brew tap dart-lang/dart
51-
brew install dart

0 commit comments

Comments
 (0)