Skip to content

Commit

Permalink
Merge pull request #80 from Workiva/widen_dep_ranges_203backpatch
Browse files Browse the repository at this point in the history
Widen dependency ranges (2.x backpatch)
  • Loading branch information
rm-astro-wf authored Dec 20, 2021
2 parents 88647bb + bd39a53 commit 0d2924d
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 34 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dart_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Dart CI

on:
push:
branches:
- 'master'
- 'test_consume_*'
pull_request:
branches:
- '*'

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
sdk: [ 2.13.4, stable, beta, dev ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Validate dependencies
run: dart run dependency_validator
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}
- name: Analyze project source
run: dart analyze
- name: Run tests
run: dart test
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

28 changes: 15 additions & 13 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,33 @@ environment:
sdk: '>=2.3.0 <3.0.0'

dependencies:
args: ^1.5.0
build_config: ^0.4.2
checked_yaml: ^1.0.0
glob: ^1.2.0
io: ^0.3.5
args: '>=1.5.0 <3.0.0'
build_config: '>=0.4.2 <2.0.0'
checked_yaml: '>=1.0.0 <3.0.0'
glob: '>=1.2.0 <3.0.0'
io: '>=0.3.5 <2.0.0'
json_annotation: ^3.0.0
logging: ^0.11.3+1
package_config: ^1.9.3
logging: '>=0.11.3+1 <2.0.0'
package_config: '>=1.9.3 <3.0.0'
path: ^1.4.2
pub_semver: ^1.4.1
pubspec_parse: ^0.1.5
yaml: ^2.1.13
pub_semver: '>=1.4.1 <3.0.0'
pubspec_parse: '>=0.1.5 <2.0.0'
yaml: '>=2.1.13 <4.0.0'

dev_dependencies:
build_runner: ^1.7.3
json_serializable: ^3.2.5
test: ^1.9.4
test_descriptor: ^1.2.0
workiva_analysis_options: ^1.0.0
meta: ">=1.2.2 <1.7.0" # Workaround to avoid https://github.com/dart-lang/sdk/issues/46142
test: ^1.15.7
test_descriptor: ^2.0.0
workiva_analysis_options: ^1.2.0

executables:
dependency_validator:

dependency_validator:
ignore:
- meta # ignored because it is pinned to workaround an SDK issue
- json_serializable
- _foo
- foo
Expand Down

0 comments on commit 0d2924d

Please sign in to comment.