Skip to content

Commit

Permalink
Merge pull request #120 from Workiva/readme_updates
Browse files Browse the repository at this point in the history
Fixed broken GHA and updated installation instructions
  • Loading branch information
rmconsole3-wf authored May 30, 2024
2 parents fd47312 + 79e1e6c commit 1f18697
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dart_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
run: dart analyze
- name: Run tests
run: dart test

- uses: anchore/sbom-action@v0
if: ${{ matrix.sdk == '2.19.6'}}
with:
path: ./
format: cyclonedx-json
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
## Installation

Add the following to your pubspec.yaml:

```yaml
dev_dependencies:
dependency_validator: ^3.0.0
```
dart pub global activate dependency_validator
```

## Usage

```bash
dart run dependency_validator
dart pub global run dependency_validator
```

This will report any missing, under-promoted, over-promoted, and unused
Expand Down

0 comments on commit 1f18697

Please sign in to comment.