Skip to content

Commit

Permalink
Merge pull request #73 from Workiva/allow_analyzer_6
Browse files Browse the repository at this point in the history
Allow analyzer 6
  • Loading branch information
rmconsole5-wk authored Sep 6, 2024
2 parents 05b21f7 + 6a9d7ec commit 6200a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dart_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
sdk: [ 2.18.7, 2.19.6, stable ]
sdk: [ 2.19.6, stable ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: dart pub get
- name: Validate dependencies
run: dart run dependency_validator
run: dart pub global activate dependency_validator && dart pub global run dependency_validator
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}
Expand All @@ -32,6 +32,7 @@ jobs:
- name: Run tests
run: dart test
- uses: anchore/sbom-action@v0
if: ${{ matrix.sdk == 'stable' }}
with:
path: ./
format: cyclonedx-json
3 changes: 1 addition & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
analyzer: ^5.0.0
analyzer: '>=5.0.0 <7.0.0'
build: ^2.0.3
collection: ^1.15.0
path: ^1.8.0
source_span: ^1.8.1

dev_dependencies:
dependency_validator: ^3.0.0
test: ^1.16.0

0 comments on commit 6200a29

Please sign in to comment.