Skip to content

Commit 2da10c6

Browse files
fix: update SDK constraint to >=3.0.0 and upgrade GitHub Actions workflow to checkout@v4 and setup-dart@v1
1 parent 32eb86f commit 2da10c6

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
analyze-and-test-without-env:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: dart-lang/setup-dart@v1.5.0
13+
- uses: actions/checkout@v4
14+
- uses: dart-lang/setup-dart@v1
1515
- name: Install dependencies
1616
run: dart pub get
1717
- name: Analyze project source
@@ -28,8 +28,8 @@ jobs:
2828
PROTECTED_MODE: true
2929
RAPID_API_SECRET: ${{ secrets.RAPID_API_SECRET }}
3030
steps:
31-
- uses: actions/checkout@v2
32-
- uses: dart-lang/setup-dart@v1.5.0
31+
- uses: actions/checkout@v4
32+
- uses: dart-lang/setup-dart@v1
3333
- name: Install dependencies
3434
run: dart pub get
3535
- name: Run tests
@@ -43,8 +43,8 @@ jobs:
4343
RATING_MARGIN: 10
4444
PROTECTED_MODE: false
4545
steps:
46-
- uses: actions/checkout@v2
47-
- uses: dart-lang/setup-dart@v1.5.0
46+
- uses: actions/checkout@v4
47+
- uses: dart-lang/setup-dart@v1
4848
- name: Install dependencies
4949
run: dart pub get
5050
- name: Run tests

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 1.0.0
44
repository: https://github.com/willyfromtheblock/strom_api
55

66
environment:
7-
sdk: '>=2.19.2 <3.0.0'
7+
sdk: '>=3.0.0 <4.0.0'
88

99
dev_dependencies:
1010
lints: ^3.0.0

0 commit comments

Comments
 (0)