Skip to content

Commit

Permalink
avoid spurious duplicate dependencies erorr
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Mar 27, 2023
1 parent ca12763 commit 1ed7963
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

# Avoid spurious reports of duplicated dependencies by using precise versions of some crates
# In particular: avoid syn 2.0 until all crates are updated
- name: Set up package versions
run: |
cargo update --package async-trait --precise 0.1.66
cargo update --package serde --precise 1.0.156
cargo update --package serde_repr --precise 0.1.11
- uses: EmbarkStudios/cargo-deny-action@v1
with:
log-level: error
Expand Down

0 comments on commit 1ed7963

Please sign in to comment.