Skip to content

Commit b59e08d

Browse files
committed
Version Cargo.lock
1 parent bbad87b commit b59e08d

File tree

3 files changed

+204
-10
lines changed

3 files changed

+204
-10
lines changed

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ jobs:
4545
run: sudo apt-get update && sudo apt-get install -y valgrind
4646

4747
- name: cargo test (debug; default features)
48-
run: cargo test
48+
run: cargo test --locked
4949
env:
5050
RUST_BACKTRACE: 1
5151

5252
- name: cargo test (debug; all features)
53-
run: cargo test --all-features
53+
run: cargo test --locked --all-features
5454
env:
5555
RUST_BACKTRACE: 1
5656

5757
- name: cargo test (debug; no default features; no run)
58-
run: cargo test --no-default-features
58+
run: cargo test --locked --no-default-features
5959
env:
6060
RUST_BACKTRACE: 1
6161

@@ -75,17 +75,17 @@ jobs:
7575
run: rustup target add wasm32-unknown-unknown
7676

7777
- name: wasm32 build (debug; default features)
78-
run: cargo build --target wasm32-unknown-unknown --lib
78+
run: cargo build --locked --target wasm32-unknown-unknown --lib
7979
env:
8080
RUST_BACKTRACE: 1
8181

8282
- name: wasm32 build (debug; all features)
83-
run: cargo build --target wasm32-unknown-unknown --lib --all-features
83+
run: cargo build --locked --target wasm32-unknown-unknown --lib --all-features
8484
env:
8585
RUST_BACKTRACE: 1
8686

8787
- name: wasm32 build (debug; no default features)
88-
run: cargo build --target wasm32-unknown-unknown --lib --no-default-features
88+
run: cargo build --locked --target wasm32-unknown-unknown --lib --no-default-features
8989
env:
9090
RUST_BACKTRACE: 1
9191

@@ -106,7 +106,7 @@ jobs:
106106
with:
107107
toolchain: "1.60"
108108

109-
- run: cargo check --lib --all-features
109+
- run: cargo check --lib --locked --all-features
110110

111111
format:
112112
name: Format
@@ -135,7 +135,7 @@ jobs:
135135
uses: dtolnay/rust-toolchain@stable
136136
with:
137137
components: clippy
138-
- run: cargo clippy --all-features -- --deny warnings
138+
- run: cargo clippy --locked --all-features -- --deny warnings
139139

140140
semver:
141141
name: Check semver compatibility
@@ -189,7 +189,7 @@ jobs:
189189

190190
- name: Build and run test
191191
run: |
192-
cargo test --all-features --lib
192+
cargo test --locked --all-features --lib
193193
exe=$(cargo test --all-features --no-run --message-format json | \
194194
jq --slurp --raw-output '.[] | select(.reason == "compiler-artifact") | select(.target.name == "rustls_pki_types") | select(.profile.test) | .executable')
195195
valgrind --error-exitcode=99 --exit-on-first-error=yes $exe

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
/target
2-
/Cargo.lock
32
/.idea

Cargo.lock

+195
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)