diff --git a/.github/pubspec_overrides.yaml b/.github/pubspec_overrides.yaml new file mode 100644 index 00000000..ea205102 --- /dev/null +++ b/.github/pubspec_overrides.yaml @@ -0,0 +1 @@ +resolution: diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index da02e934..bc0b61dd 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -20,10 +20,12 @@ jobs: # https://github.com/dart-lang/setup-dart/blob/main/README.md - uses: dart-lang/setup-dart@v1 with: - sdk: 3.5.2 + sdk: 3.6.0 - name: Install dependencies - run: dart pub get + run: | + mv .github/pubspec_overrides.yaml pubspec_overrides.yaml + dart pub get - name: Analyze project source run: dart analyze --fatal-infos diff --git a/pubspec.yaml b/pubspec.yaml index ec12408b..83786bf1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,8 +4,9 @@ version: 2.3.1 publish_to: none repository: https://github.com/BinghamtonRover/Networking +resolution: workspace environment: - sdk: ^3.5.0 + sdk: ^3.6.0 # Add regular dependencies here. dependencies: