Skip to content

Commit

Permalink
chore: add cargo machete and remove unused dependencies (#119)
Browse files Browse the repository at this point in the history
Co-authored-by: Cijo Thomas <[email protected]>
  • Loading branch information
gruebel and cijothomas authored Oct 20, 2024
1 parent 3278de6 commit be31dcb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/dotnet
df -h
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
Expand All @@ -35,7 +35,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
Expand All @@ -54,7 +54,7 @@ jobs:
# msrv:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: actions-rs/toolchain@v1
Expand All @@ -73,15 +73,15 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true # Prevent sudden announcement of a new advisory from failing ci
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check advisories
docs:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -97,7 +97,7 @@ jobs:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
Expand All @@ -117,3 +117,19 @@ jobs:
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
cargo-machete:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: taiki-e/install-action@v2
with:
tool: cargo-machete
- name: cargo machete
run: cargo machete
1 change: 0 additions & 1 deletion opentelemetry-datadog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ url = "2.2"
reqwest = { version = "0.12", default-features = false, optional = true }
surf = { version = "2.0", default-features = false, optional = true }
thiserror = "1.0"
itertools = "0.11"
http = "1"
futures-core = "0.3"
ryu = "1"
Expand Down
1 change: 0 additions & 1 deletion opentelemetry-user-events-logs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ eventheader = "0.4.0"
eventheader_dynamic = "0.4.0"
opentelemetry = { workspace = true, features = ["logs"] }
opentelemetry_sdk = { workspace = true, features = ["logs"] }
async-std = { version="1.6" }
async-trait = { version="0.1" }
chrono = { version = "0.4", default-features = false, features = ["std"] }

Expand Down

0 comments on commit be31dcb

Please sign in to comment.