File tree 2 files changed +35
-4
lines changed
2 files changed +35
-4
lines changed Original file line number Diff line number Diff line change @@ -110,10 +110,8 @@ jobs:
110
110
- uses : dtolnay/rust-toolchain@1.65.0
111
111
- name : Patch dependencies versions # some dependencies bump MSRV without major version bump
112
112
run : bash ./scripts/patch_dependencies.sh
113
- - name : Run tests
114
- run : cargo --version &&
115
- cargo test --manifest-path=opentelemetry/Cargo.toml --features trace,metrics,testing &&
116
- cargo test --manifest-path=opentelemetry-zipkin/Cargo.toml
113
+ - name : Check MSRV for all crates
114
+ run : bash ./scripts/msrv.sh
117
115
cargo-deny :
118
116
runs-on : ubuntu-latest # This uses the step `EmbarkStudios/cargo-deny-action@v1` which is only supported on Linux
119
117
continue-on-error : true # Prevent sudden announcement of a new advisory from failing ci
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -eu
4
+
5
+ echo " Running msrv check for opentelemetry package"
6
+ cargo check --manifest-path=opentelemetry/Cargo.toml --all-features
7
+
8
+ echo " Running msrv check for opentelemetry-sdk package"
9
+ cargo check --manifest-path=opentelemetry-sdk/Cargo.toml --all-features
10
+
11
+ echo " Running msrv check for opentelemetry-stdout package"
12
+ cargo check --manifest-path=opentelemetry-stdout/Cargo.toml --all-features
13
+
14
+ # TODO: Ignoring as this is failing with the following error:
15
+ # error: package `prost-derive v0.12.6` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.65.0
16
+ # echo "Running msrv check for opentelemetry-otlp package"
17
+ # cargo check --manifest-path=opentelemetry-otlp/Cargo.toml --all-features
18
+
19
+ echo " Running msrv check for opentelemetry-http package"
20
+ cargo check --manifest-path=opentelemetry-http/Cargo.toml --all-features
21
+
22
+ echo " Running msrv check for opentelemetry-jaeger-propagator package"
23
+ cargo check --manifest-path=opentelemetry-jaeger-propagator/Cargo.toml --all-features
24
+
25
+ echo " Running msrv check for opentelemetry-zipkin package"
26
+ cargo check --manifest-path=opentelemetry-zipkin/Cargo.toml --all-features
27
+
28
+ echo " Running msrv check for opentelemetry-appender-log package"
29
+ cargo check --manifest-path=opentelemetry-appender-log/Cargo.toml --all-features
30
+
31
+ echo " Running msrv check for opentelemetry-appender-tracing package"
32
+ cargo check --manifest-path=opentelemetry-appender-tracing/Cargo.toml --all-features
33
+
You can’t perform that action at this time.
0 commit comments