Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: cargo
directory: /
schedule:
interval: weekly
groups:
opentelemetry:
patterns:
- "opentelemetry*"
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to use main, could you revert this change or use @v6 (which is much better than a raw hash)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To uphold security best practices, I included all version numbers in the standard comment format to preserve readability. Dependabot will update both, digests and comments.
https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idstepsuses
If you insist, I revert everything.
https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-using-versioned-actions

- uses: dtolnay/rust-toolchain@stable
- name: Install HAProxy
run: |
Expand All @@ -24,7 +24,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
Expand All @@ -34,11 +34,11 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: clippy
- uses: giraffate/clippy-action@v1
- uses: giraffate/clippy-action@a6030db3b8bde89e5316ff1adb2a0d8954c2ff40 # v1.0.0
with:
reporter: 'github-pr-review'
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Rust
/target
Cargo.lock

# Editors
.idea/
.vscode/
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ members = [
[dependencies]
mlua = { version = "0.11.1", features = ["macros"] }
haproxy-api = { version = "0.9.0" }
opentelemetry = { version = "0.30", default-features = false, features = ["trace"] }
opentelemetry_sdk = { version = "0.30", default-features = false, features = ["trace", "rt-tokio", "experimental_trace_batch_span_processor_with_async_runtime"] }
opentelemetry-semantic-conventions = { version = "0.30", features = ["semconv_experimental"] }
opentelemetry-http = "0.30"
opentelemetry-otlp = { version = "0.30", default-features = false, features = ["http-proto", "http-json", "trace", "reqwest-client"] }
opentelemetry-zipkin = { version = "0.30", default-features = false }
opentelemetry-jaeger-propagator = "0.30"
opentelemetry = { version = "0.31", default-features = false, features = ["trace"] }
opentelemetry_sdk = { version = "0.31", default-features = false, features = ["trace", "rt-tokio", "experimental_trace_batch_span_processor_with_async_runtime"] }
opentelemetry-semantic-conventions = { version = "0.31", features = ["semconv_experimental"] }
opentelemetry-http = "0.31"
opentelemetry-otlp = { version = "0.31", default-features = false, features = ["http-proto", "http-json", "trace", "reqwest-client"] }
opentelemetry-zipkin = { version = "0.31", default-features = false }
opentelemetry-jaeger-propagator = "0.31"
quick_cache = "0.6.14"
const-hex = "1.14.1"